Skip to content

Commit

Permalink
HUB interrupts are allocated per node, not per slice. Make
Browse files Browse the repository at this point in the history
manipulation of the interrupt mask register atomic by disabling
interrupts.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 4f12bfe commit 7c2740f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-mips/mach-ip27/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};
Expand All @@ -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];
};

Expand Down

0 comments on commit 7c2740f

Please sign in to comment.