summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/process_32.c
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-07-21 21:36:40 +0530
committerIngo Molnar <mingo@elte.hu>2008-07-22 14:35:59 +0200
commitfb26132b441e75d6ba9996efc29b42081aee0abd (patch)
tree7f6124a231fe0ae03effc4694e16f4a232a2401d /arch/x86/kernel/process_32.c
parentbbc1f698a508927d21324b57500e863f9bd562b9 (diff)
downloadop-kernel-dev-fb26132b441e75d6ba9996efc29b42081aee0abd.zip
op-kernel-dev-fb26132b441e75d6ba9996efc29b42081aee0abd.tar.gz
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>
Diffstat (limited to 'arch/x86/kernel/process_32.c')
-rw-r--r--arch/x86/kernel/process_32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index 6490e49..7218bcc 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -56,6 +56,7 @@
#include <asm/cpu.h>
#include <asm/kdebug.h>
#include <asm/syscalls.h>
+#include <asm/smp.h>
asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");
OpenPOWER on IntegriCloud