diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-09-04 07:02:35 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-09-04 07:02:35 -0400 |
| commit | 42390cdec5f6e6e2ee54f308474a6ef7dd16aa5c (patch) | |
| tree | e9684c84f53272319a5acd4b9c86503f30274a51 /arch/powerpc/kernel/module.c | |
| parent | 11c231a962c740b3216eb6565149ae5a7944cba7 (diff) | |
| parent | d210baf53b699fc61aa891c177b71d7082d3b957 (diff) | |
Merge branch 'linus' into x86/x2apic
Conflicts:
arch/x86/kernel/cpu/cyrix.c
include/asm-x86/cpufeature.h
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/powerpc/kernel/module.c')
| -rw-r--r-- | arch/powerpc/kernel/module.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/powerpc/kernel/module.c b/arch/powerpc/kernel/module.c index af07003573c4..7ff292475269 100644 --- a/arch/powerpc/kernel/module.c +++ b/arch/powerpc/kernel/module.c | |||
| @@ -99,18 +99,3 @@ void module_arch_cleanup(struct module *mod) | |||
| 99 | { | 99 | { |
| 100 | module_bug_cleanup(mod); | 100 | module_bug_cleanup(mod); |
| 101 | } | 101 | } |
| 102 | |||
| 103 | struct bug_entry *module_find_bug(unsigned long bugaddr) | ||
| 104 | { | ||
| 105 | struct mod_arch_specific *mod; | ||
| 106 | unsigned int i; | ||
| 107 | struct bug_entry *bug; | ||
| 108 | |||
| 109 | list_for_each_entry(mod, &module_bug_list, bug_list) { | ||
| 110 | bug = mod->bug_table; | ||
| 111 | for (i = 0; i < mod->num_bugs; ++i, ++bug) | ||
| 112 | if (bugaddr == bug->bug_addr) | ||
| 113 | return bug; | ||
| 114 | } | ||
| 115 | return NULL; | ||
| 116 | } | ||
