diff options
author | Graf Yang <graf.yang@analog.com> | 2009-09-21 07:51:31 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-10 07:18:12 -0500 |
commit | 9c199b5965c76f90b297e01accb933624dc8d242 (patch) | |
tree | a0893fedaa9ef6a1e27aacd7a09248e1ecba5946 /arch/blackfin/mach-common/smp.c | |
parent | 71a66287d9c2fd07f1017f23db6ccc68ac4c4a96 (diff) |
Blackfin: SMP: fix cpumask misbehavior
The cpu maps are defines provided by common linux/cpumask.h, not local
variables. So stop exporting them locally and include the right header
for their definition.
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-common/smp.c')
-rw-r--r-- | arch/blackfin/mach-common/smp.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/blackfin/mach-common/smp.c b/arch/blackfin/mach-common/smp.c index a17107a700d5..06d6dda05084 100644 --- a/arch/blackfin/mach-common/smp.c +++ b/arch/blackfin/mach-common/smp.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/mm.h> | 19 | #include <linux/mm.h> |
20 | #include <linux/cpu.h> | 20 | #include <linux/cpu.h> |
21 | #include <linux/smp.h> | 21 | #include <linux/smp.h> |
22 | #include <linux/cpumask.h> | ||
22 | #include <linux/seq_file.h> | 23 | #include <linux/seq_file.h> |
23 | #include <linux/irq.h> | 24 | #include <linux/irq.h> |
24 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
@@ -43,12 +44,6 @@ void __cpuinitdata *init_retx_coreb, *init_saved_retx_coreb, | |||
43 | *init_saved_seqstat_coreb, *init_saved_icplb_fault_addr_coreb, | 44 | *init_saved_seqstat_coreb, *init_saved_icplb_fault_addr_coreb, |
44 | *init_saved_dcplb_fault_addr_coreb; | 45 | *init_saved_dcplb_fault_addr_coreb; |
45 | 46 | ||
46 | cpumask_t cpu_possible_map; | ||
47 | EXPORT_SYMBOL(cpu_possible_map); | ||
48 | |||
49 | cpumask_t cpu_online_map; | ||
50 | EXPORT_SYMBOL(cpu_online_map); | ||
51 | |||
52 | #define BFIN_IPI_RESCHEDULE 0 | 47 | #define BFIN_IPI_RESCHEDULE 0 |
53 | #define BFIN_IPI_CALL_FUNC 1 | 48 | #define BFIN_IPI_CALL_FUNC 1 |
54 | #define BFIN_IPI_CPU_STOP 2 | 49 | #define BFIN_IPI_CPU_STOP 2 |