Selaa lähdekoodia

sparc32: Stop calling claim_ticker14() from sun4c_irq.c

Since the first argument is always NULL, the only side effect
is to disable the PROFILE_IRQ, so just do that directly.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 16 vuotta sitten
vanhempi
commit
b218fa0e9c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      arch/sparc/kernel/sun4c_irq.c

+ 1 - 1
arch/sparc/kernel/sun4c_irq.c

@@ -163,7 +163,7 @@ static void __init sun4c_init_timers(irq_handler_t counter_fn)
 		prom_halt();
 	}
     
-	claim_ticker14(NULL, PROFILE_IRQ, 0);
+	sun4c_disable_irq(PROFILE_IRQ);
 }
 
 #ifdef CONFIG_SMP