]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] ip27-timer: fix unsigned irq < 0
authorRoel Kluin <12o3l@tiscali.nl>
Wed, 16 Apr 2008 15:09:58 +0000 (17:09 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 12 May 2008 15:46:51 +0000 (16:46 +0100)
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>
arch/mips/sgi-ip27/ip27-timer.c

index 25d3baf0ebc4362a8c6cb02fa11468759c0f0b28..9cebc9e7da63ad4c926fbd142f39da54313d8594 100644 (file)
@@ -158,7 +158,7 @@ static void rt_set_mode(enum clock_event_mode mode,
        }
 }
 
-unsigned int rt_timer_irq;
+int rt_timer_irq;
 
 static irqreturn_t hub_rt_counter_handler(int irq, void *dev_id)
 {
@@ -219,7 +219,7 @@ static void __cpuinit hub_rt_clock_event_init(void)
 
 static void __init hub_rt_clock_event_global_init(void)
 {
-       unsigned int irq;
+       int irq;
 
        do {
                smp_wmb();