X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fmodule.h;h=e5f14b13ccf0ff2c11ef8392b6697750608ca919;hb=bee86f14d51a5a9a3b1897e301da1e415df0ba23;hp=4438f4fd65246c108a0a6f58d235dcc5c49dab9c;hpb=4706df3d3c42af802597d82c8b1542c3d52eab23;p=linux-2.6 diff --git a/include/asm-powerpc/module.h b/include/asm-powerpc/module.h index 4438f4fd65..e5f14b13cc 100644 --- a/include/asm-powerpc/module.h +++ b/include/asm-powerpc/module.h @@ -1,5 +1,6 @@ -#ifndef _POWERPC_MODULE_H -#define _POWERPC_MODULE_H +#ifndef _ASM_POWERPC_MODULE_H +#define _ASM_POWERPC_MODULE_H +#ifdef __KERNEL__ /* * This program is free software; you can redistribute it and/or @@ -45,8 +46,6 @@ struct mod_arch_specific { unsigned int num_bugs; }; -extern struct bug_entry *module_find_bug(unsigned long bugaddr); - /* * Select ELF headers. * Make empty section for module_frob_arch_sections to expand. @@ -74,4 +73,5 @@ struct exception_table_entry; void sort_ex_table(struct exception_table_entry *start, struct exception_table_entry *finish); -#endif /* _POWERPC_MODULE_H */ +#endif /* __KERNEL__ */ +#endif /* _ASM_POWERPC_MODULE_H */