diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-12-04 11:19:07 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-12-04 11:19:07 -0500 |
commit | f22d9bc1e87270586610216084b00cb2fb09abba (patch) | |
tree | 771ce2ebc70f756a5b04e0f4fa4b0c4be0ee0c33 /arch/x86 | |
parent | 75bc122c2dc4d497909248e85d86139e54c8fd13 (diff) |
x86: free_cache_attributes() section fix
free_cache_attributes() must be __cpuinit since it calls the
__cpuinit cache_remove_shared_cpu_map().
This patch fixes the following section mismatch reported by
Chris Clayton:
...
WARNING: vmlinux.o(.text+0x90b6): Section mismatch: reference to .init.text:cache_remove_shared_cpu_map (between 'free_cache_attributes' and 'show_level')
...
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/cpu/intel_cacheinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/intel_cacheinfo.c b/arch/x86/kernel/cpu/intel_cacheinfo.c index 9921b01fe199..606fe4d55a91 100644 --- a/arch/x86/kernel/cpu/intel_cacheinfo.c +++ b/arch/x86/kernel/cpu/intel_cacheinfo.c | |||
@@ -497,7 +497,7 @@ static void __cpuinit cache_shared_cpu_map_setup(unsigned int cpu, int index) {} | |||
497 | static void __cpuinit cache_remove_shared_cpu_map(unsigned int cpu, int index) {} | 497 | static void __cpuinit cache_remove_shared_cpu_map(unsigned int cpu, int index) {} |
498 | #endif | 498 | #endif |
499 | 499 | ||
500 | static void free_cache_attributes(unsigned int cpu) | 500 | static void __cpuinit free_cache_attributes(unsigned int cpu) |
501 | { | 501 | { |
502 | int i; | 502 | int i; |
503 | 503 | ||