diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2008-04-16 11:09:58 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-05-12 11:46:51 -0400 |
commit | d0e7ba063233105febd960e0716d5e9fd9159307 (patch) | |
tree | 878b0c26e50b2f6aba61102625b4942db8434bab /arch/mips | |
parent | b618336aac146df24ace641dff69dc46675886c9 (diff) |
[MIPS] ip27-timer: fix unsigned irq < 0
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Acked-By: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sgi-ip27/ip27-timer.c b/arch/mips/sgi-ip27/ip27-timer.c index 25d3baf0ebc4..9cebc9e7da63 100644 --- a/arch/mips/sgi-ip27/ip27-timer.c +++ b/arch/mips/sgi-ip27/ip27-timer.c | |||
@@ -158,7 +158,7 @@ static void rt_set_mode(enum clock_event_mode mode, | |||
158 | } | 158 | } |
159 | } | 159 | } |
160 | 160 | ||
161 | unsigned int rt_timer_irq; | 161 | int rt_timer_irq; |
162 | 162 | ||
163 | static irqreturn_t hub_rt_counter_handler(int irq, void *dev_id) | 163 | static irqreturn_t hub_rt_counter_handler(int irq, void *dev_id) |
164 | { | 164 | { |
@@ -219,7 +219,7 @@ static void __cpuinit hub_rt_clock_event_init(void) | |||
219 | 219 | ||
220 | static void __init hub_rt_clock_event_global_init(void) | 220 | static void __init hub_rt_clock_event_global_init(void) |
221 | { | 221 | { |
222 | unsigned int irq; | 222 | int irq; |
223 | 223 | ||
224 | do { | 224 | do { |
225 | smp_wmb(); | 225 | smp_wmb(); |