aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-01-30 13:33:36 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:33:36 +0100
commit1e35669d017eac5bea4739f927b28e64731504e1 (patch)
tree8742b436f5a9e681ee0664a7398d4f5bc2389358 /arch/x86/kernel/cpu/Makefile
parentff472a114ca11f5354912745fbb94bb66ec10916 (diff)
x86: fix section mismatch warning in mcheck/mce_64.c
Fix following warning: WARNING: arch/x86/kernel/cpu/mcheck/built-in.o(.text+0x752): Section mismatch: reference to .cpuinit.text:mce_create_device in 'mce_cpu_callback' mce_cpu_callback() is only used by mce_cpu_notofier. The notifier is only used for hotplugable cpu's as it is registered using register_hotcpu_notifier(), Annotate them both __cpuinit to fix the warning. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/cpu/Makefile')
0 files changed, 0 insertions, 0 deletions