]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: free_cache_attributes() section fix
authorAdrian Bunk <bunk@kernel.org>
Tue, 4 Dec 2007 16:19:07 +0000 (17:19 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 4 Dec 2007 16:19:07 +0000 (17:19 +0100)
commitf22d9bc1e87270586610216084b00cb2fb09abba
tree771ce2ebc70f756a5b04e0f4fa4b0c4be0ee0c33
parent75bc122c2dc4d497909248e85d86139e54c8fd13
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>
arch/x86/kernel/cpu/intel_cacheinfo.c