Commit 28e18a0f authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] BCM1480: Fix computation of interrupt mask address register.

  CC      arch/mips/sibyte/bcm1480/irq.o
arch/mips/sibyte/bcm1480/irq.c: In function 'bcm1480_mask_irq':
arch/mips/sibyte/bcm1480/irq.c:112: warning: cast to pointer from integer of different size
arch/mips/sibyte/bcm1480/irq.c:114: warning: cast to pointer from integer of different size
arch/mips/sibyte/bcm1480/irq.c: In function 'bcm1480_unmask_irq':
arch/mips/sibyte/bcm1480/irq.c:130: warning: cast to pointer from integer of different size
arch/mips/sibyte/bcm1480/irq.c:132: warning: cast to pointer from integer of different size
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 045e4bb2
...@@ -100,8 +100,8 @@ DEFINE_SPINLOCK(bcm1480_imr_lock); ...@@ -100,8 +100,8 @@ DEFINE_SPINLOCK(bcm1480_imr_lock);
void bcm1480_mask_irq(int cpu, int irq) void bcm1480_mask_irq(int cpu, int irq)
{ {
unsigned long flags; unsigned long flags, hl_spacing;
u64 cur_ints,hl_spacing; u64 cur_ints;
spin_lock_irqsave(&bcm1480_imr_lock, flags); spin_lock_irqsave(&bcm1480_imr_lock, flags);
hl_spacing = 0; hl_spacing = 0;
...@@ -117,8 +117,8 @@ void bcm1480_mask_irq(int cpu, int irq) ...@@ -117,8 +117,8 @@ void bcm1480_mask_irq(int cpu, int irq)
void bcm1480_unmask_irq(int cpu, int irq) void bcm1480_unmask_irq(int cpu, int irq)
{ {
unsigned long flags; unsigned long flags, hl_spacing;
u64 cur_ints,hl_spacing; u64 cur_ints;
spin_lock_irqsave(&bcm1480_imr_lock, flags); spin_lock_irqsave(&bcm1480_imr_lock, flags);
hl_spacing = 0; hl_spacing = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment