diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-08-28 19:38:13 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-09-11 14:03:25 -0400 |
commit | 28e18a0f691b3737f73ab9033ded6a4da6c31b2f (patch) | |
tree | 2f23d83d0562f00c5be66b55dc7eb6cc240037eb /arch | |
parent | 045e4bb2bafb7aa8141c2f8332ce31b224ac3bb0 (diff) |
[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: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/sibyte/bcm1480/irq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/sibyte/bcm1480/irq.c b/arch/mips/sibyte/bcm1480/irq.c index 79ae6ef979bb..e729b5f30264 100644 --- a/arch/mips/sibyte/bcm1480/irq.c +++ b/arch/mips/sibyte/bcm1480/irq.c | |||
@@ -100,8 +100,8 @@ DEFINE_SPINLOCK(bcm1480_imr_lock); | |||
100 | 100 | ||
101 | void bcm1480_mask_irq(int cpu, int irq) | 101 | void bcm1480_mask_irq(int cpu, int irq) |
102 | { | 102 | { |
103 | unsigned long flags; | 103 | unsigned long flags, hl_spacing; |
104 | u64 cur_ints,hl_spacing; | 104 | u64 cur_ints; |
105 | 105 | ||
106 | spin_lock_irqsave(&bcm1480_imr_lock, flags); | 106 | spin_lock_irqsave(&bcm1480_imr_lock, flags); |
107 | hl_spacing = 0; | 107 | hl_spacing = 0; |
@@ -117,8 +117,8 @@ void bcm1480_mask_irq(int cpu, int irq) | |||
117 | 117 | ||
118 | void bcm1480_unmask_irq(int cpu, int irq) | 118 | void bcm1480_unmask_irq(int cpu, int irq) |
119 | { | 119 | { |
120 | unsigned long flags; | 120 | unsigned long flags, hl_spacing; |
121 | u64 cur_ints,hl_spacing; | 121 | u64 cur_ints; |
122 | 122 | ||
123 | spin_lock_irqsave(&bcm1480_imr_lock, flags); | 123 | spin_lock_irqsave(&bcm1480_imr_lock, flags); |
124 | hl_spacing = 0; | 124 | hl_spacing = 0; |