]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: process_32.c declare cpu_number before they get used
authorJaswinder Singh <jaswinder@infradead.org>
Mon, 21 Jul 2008 16:06:40 +0000 (21:36 +0530)
committerIngo Molnar <mingo@elte.hu>
Tue, 22 Jul 2008 12:35:59 +0000 (14:35 +0200)
commitfb26132b441e75d6ba9996efc29b42081aee0abd
tree7f6124a231fe0ae03effc4694e16f4a232a2401d
parentbbc1f698a508927d21324b57500e863f9bd562b9
x86: process_32.c declare cpu_number before they get used

Moved DECLARE_PER_CPU(int, cpu_number) from CONFIG_X86_32_SMP to CONFIG_X86_32
because cpu_number is required for both.
And include asm/smp.h in process_32.c

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
arch/x86/kernel/process_32.c
include/asm-x86/smp.h