diff options
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/irq.c | 2 | ||||
-rw-r--r-- | arch/mips/kernel/smp-bmips.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c index d2bfbc2e8995..51f57d841662 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/irq.c | |||
@@ -29,7 +29,7 @@ | |||
29 | int kgdb_early_setup; | 29 | int kgdb_early_setup; |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | static unsigned long irq_map[NR_IRQS / BITS_PER_LONG]; | 32 | static DECLARE_BITMAP(irq_map, NR_IRQS); |
33 | 33 | ||
34 | int allocate_irqno(void) | 34 | int allocate_irqno(void) |
35 | { | 35 | { |
diff --git a/arch/mips/kernel/smp-bmips.c b/arch/mips/kernel/smp-bmips.c index fd528d7ea278..336708ae5c5b 100644 --- a/arch/mips/kernel/smp-bmips.c +++ b/arch/mips/kernel/smp-bmips.c | |||
@@ -444,7 +444,7 @@ struct plat_smp_ops bmips5000_smp_ops = { | |||
444 | static void bmips_wr_vec(unsigned long dst, char *start, char *end) | 444 | static void bmips_wr_vec(unsigned long dst, char *start, char *end) |
445 | { | 445 | { |
446 | memcpy((void *)dst, start, end - start); | 446 | memcpy((void *)dst, start, end - start); |
447 | dma_cache_wback((unsigned long)start, end - start); | 447 | dma_cache_wback(dst, end - start); |
448 | local_flush_icache_range(dst, dst + (end - start)); | 448 | local_flush_icache_range(dst, dst + (end - start)); |
449 | instruction_hazard(); | 449 | instruction_hazard(); |
450 | } | 450 | } |