diff options
author | Jacek Luczak <difrost.kernel@gmail.com> | 2008-04-11 07:28:37 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:36 -0400 |
commit | df96323dfaebdf7e17cdf0656096e6ab2158ec76 (patch) | |
tree | 83aa81c00f81a2d10541cd17062faaee020272cb /arch/x86/kernel/smpboot.c | |
parent | 63d38198a0f57dca87e6cb79931c7bedbb7ab069 (diff) |
x86: section mismatch fixes, #1
This patch fixes mismatch warnings in smp_checks() (in arch/x86/kernel/smpboot.c):
WARNING: arch/x86/kernel/built-in.o(.text+0x11922): Section mismatch in reference from the function smp_checks()
to the variable .cpuinit.data:smp_b_stepping
The function smp_checks() references
the variable __cpuinitdata smp_b_stepping.
This is often because smp_checks lacks a __cpuinitdata
annotation or the annotation of smp_b_stepping is wrong.
Signed-off-by: Jacek Luczak <luczak.jacek@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 4517d1c01eb5..ca3929b16049 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -437,7 +437,7 @@ valid_k7: | |||
437 | #endif | 437 | #endif |
438 | } | 438 | } |
439 | 439 | ||
440 | void smp_checks(void) | 440 | void __cpuinit smp_checks(void) |
441 | { | 441 | { |
442 | if (smp_b_stepping) | 442 | if (smp_b_stepping) |
443 | printk(KERN_WARNING "WARNING: SMP operation may be unreliable" | 443 | printk(KERN_WARNING "WARNING: SMP operation may be unreliable" |