]> git.baikalelectronics.ru Git - kernel.git/commit
x86: build fix
authorIngo Molnar <mingo@elte.hu>
Fri, 31 Oct 2008 08:31:38 +0000 (09:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 31 Oct 2008 08:31:38 +0000 (09:31 +0100)
commit5483bef03c4b2d281ef082c4fcbea139af1f8ece
tree7ffc149cc914c1ba1ba19e0806f84843b1453643
parent9e30606a132c18e29535e4493b7dd1328f14aa65
x86: build fix

Impact: build fix on certain UP configs

fix:

 arch/x86/kernel/cpu/common.c: In function 'cpu_init':
 arch/x86/kernel/cpu/common.c:1141: error: 'boot_cpu_id' undeclared (first use in this function)
 arch/x86/kernel/cpu/common.c:1141: error: (Each undeclared identifier is reported only once
 arch/x86/kernel/cpu/common.c:1141: error: for each function it appears in.)

Pull in asm/smp.h on UP, so that we get the definition of
boot_cpu_id.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/common.c