Skip to contentSkip to conversation

: sparc32: Stop calling claim_ticker14() from

PATCH New David Miller 1 participant 1 message Sep 19, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 7/13 : sparc32: Stop calling claim_ticker14() from

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.

---
 arch/sparc/kernel/sun4c_irq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/kernel/sun4c_irq.c +1 -1
index 6f28a13..ae3149e 100644
@@ -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
Signature · 1 line
1.5.6.5