diff options
author | Jaswinder Singh <jaswinder@infradead.org> | 2008-07-21 21:36:40 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-22 14:35:59 +0200 |
commit | fb26132b441e75d6ba9996efc29b42081aee0abd (patch) | |
tree | 7f6124a231fe0ae03effc4694e16f4a232a2401d /arch/x86/kernel/process_32.c | |
parent | bbc1f698a508927d21324b57500e863f9bd562b9 (diff) | |
download | blackbird-op-linux-fb26132b441e75d6ba9996efc29b42081aee0abd.tar.gz blackbird-op-linux-fb26132b441e75d6ba9996efc29b42081aee0abd.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index 6490e4981261..7218bccd1766 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"); |