X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fmodule.h;h=e5f14b13ccf0ff2c11ef8392b6697750608ca919;hb=f589b86d4b6e067b720a253bdb40896857804037;hp=7ecd05e0305196d3e4b387ec3a56d5f2bfc1519b;hpb=8259f1625789ad03e6451ecef3e690af52e8e802;p=linux-2.6 diff --git a/include/asm-powerpc/module.h b/include/asm-powerpc/module.h index 7ecd05e030..e5f14b13cc 100644 --- a/include/asm-powerpc/module.h +++ b/include/asm-powerpc/module.h @@ -1,5 +1,6 @@ #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 /* __KERNEL__ */ #endif /* _ASM_POWERPC_MODULE_H */