diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-03-21 14:35:53 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:59 -0400 |
commit | 7c2740f1c1a7ff2767a92042f39edad7fad95c92 (patch) | |
tree | 3401fe3986258b7f5377f732ccac1b2f35e50583 | |
parent | 4f12bfe5a498747a9a66f135a67aa8e1caa819dc (diff) |
HUB interrupts are allocated per node, not per slice. Make
manipulation of the interrupt mask register atomic by disabling
interrupts.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | include/asm-mips/mach-ip27/mmzone.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/mach-ip27/mmzone.h b/include/asm-mips/mach-ip27/mmzone.h index d3f566362e9d..986a3b9b59a7 100644 --- a/include/asm-mips/mach-ip27/mmzone.h +++ b/include/asm-mips/mach-ip27/mmzone.h | |||
@@ -10,7 +10,6 @@ | |||
10 | #define LEVELS_PER_SLICE 128 | 10 | #define LEVELS_PER_SLICE 128 |
11 | 11 | ||
12 | struct slice_data { | 12 | struct slice_data { |
13 | unsigned long irq_alloc_mask[2]; | ||
14 | unsigned long irq_enable_mask[2]; | 13 | unsigned long irq_enable_mask[2]; |
15 | int level_to_irq[LEVELS_PER_SLICE]; | 14 | int level_to_irq[LEVELS_PER_SLICE]; |
16 | }; | 15 | }; |
@@ -20,6 +19,7 @@ struct hub_data { | |||
20 | DECLARE_BITMAP(h_bigwin_used, HUB_NUM_BIG_WINDOW); | 19 | DECLARE_BITMAP(h_bigwin_used, HUB_NUM_BIG_WINDOW); |
21 | cpumask_t h_cpus; | 20 | cpumask_t h_cpus; |
22 | unsigned long slice_map; | 21 | unsigned long slice_map; |
22 | unsigned long irq_alloc_mask[2]; | ||
23 | struct slice_data slice[2]; | 23 | struct slice_data slice[2]; |
24 | }; | 24 | }; |
25 | 25 | ||