HUB interrupts are allocated per node, not per slice. Make
authorRalf Baechle <ralf@linux-mips.org>
Mon, 21 Mar 2005 19:35:53 +0000 (19:35 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:30:59 +0000 (19:30 +0100)
manipulation of the interrupt mask register atomic by disabling
interrupts.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/mach-ip27/mmzone.h

index d3f566362e9dc90966b6ab3dc7f326211f8762ff..986a3b9b59a7c0cefd0a7dbcb3a078bc7c456e9b 100644 (file)
@@ -10,7 +10,6 @@
 #define LEVELS_PER_SLICE        128
 
 struct slice_data {
-       unsigned long irq_alloc_mask[2];
        unsigned long irq_enable_mask[2];
        int level_to_irq[LEVELS_PER_SLICE];
 };
@@ -20,6 +19,7 @@ struct hub_data {
        DECLARE_BITMAP(h_bigwin_used, HUB_NUM_BIG_WINDOW);
        cpumask_t       h_cpus;
        unsigned long slice_map;
+       unsigned long irq_alloc_mask[2];
        struct slice_data slice[2];
 };