Skip to content

Commit

Permalink
[MIPS] BCM1480: Fix computation of interrupt mask address register.
Browse files Browse the repository at this point in the history
  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: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Sep 10, 2007
1 parent d77a283 commit fbd0ed3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/mips/sibyte/bcm1480/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ DEFINE_SPINLOCK(bcm1480_imr_lock);

void bcm1480_mask_irq(int cpu, int irq)
{
unsigned long flags;
u64 cur_ints,hl_spacing;
unsigned long flags, hl_spacing;
u64 cur_ints;

spin_lock_irqsave(&bcm1480_imr_lock, flags);
hl_spacing = 0;
Expand All @@ -117,8 +117,8 @@ void bcm1480_mask_irq(int cpu, int irq)

void bcm1480_unmask_irq(int cpu, int irq)
{
unsigned long flags;
u64 cur_ints,hl_spacing;
unsigned long flags, hl_spacing;
u64 cur_ints;

spin_lock_irqsave(&bcm1480_imr_lock, flags);
hl_spacing = 0;
Expand Down

0 comments on commit fbd0ed3

Please sign in to comment.