diff options
author | Jaswinder Singh Rajput <jaswinder@infradead.org> | 2009-01-07 07:41:35 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-07 07:51:21 -0500 |
commit | 6e5385d44b2df05e50a8d07ba0e14d3e32685237 (patch) | |
tree | 12bff175cedd16bc0420cc8d2132d2093358cfb8 /arch/x86/include/asm/cpu.h | |
parent | dacf7333571d770366bff74d10b56aa545434605 (diff) |
x86: smp.h move prefill_possible_map declartion to cpu.h
Impact: cleanup, moving NON-SMP stuff from smp.h
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/cpu.h')
-rw-r--r-- | arch/x86/include/asm/cpu.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h index bae482df6039..29aa6d0752b9 100644 --- a/arch/x86/include/asm/cpu.h +++ b/arch/x86/include/asm/cpu.h | |||
@@ -7,6 +7,16 @@ | |||
7 | #include <linux/nodemask.h> | 7 | #include <linux/nodemask.h> |
8 | #include <linux/percpu.h> | 8 | #include <linux/percpu.h> |
9 | 9 | ||
10 | #ifdef CONFIG_SMP | ||
11 | |||
12 | extern void prefill_possible_map(void); | ||
13 | |||
14 | #else /* CONFIG_SMP */ | ||
15 | |||
16 | static inline void prefill_possible_map(void) {} | ||
17 | |||
18 | #endif /* CONFIG_SMP */ | ||
19 | |||
10 | struct x86_cpu { | 20 | struct x86_cpu { |
11 | struct cpu cpu; | 21 | struct cpu cpu; |
12 | }; | 22 | }; |