|
@@ -132,7 +132,7 @@ static int tile_timer_set_next_event(unsigned long ticks,
|
|
|
{
|
|
|
BUG_ON(ticks > MAX_TICK);
|
|
|
__insn_mtspr(SPR_TILE_TIMER_CONTROL, ticks);
|
|
|
- raw_local_irq_unmask_now(INT_TILE_TIMER);
|
|
|
+ arch_local_irq_unmask_now(INT_TILE_TIMER);
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -143,7 +143,7 @@ static int tile_timer_set_next_event(unsigned long ticks,
|
|
|
static void tile_timer_set_mode(enum clock_event_mode mode,
|
|
|
struct clock_event_device *evt)
|
|
|
{
|
|
|
- raw_local_irq_mask_now(INT_TILE_TIMER);
|
|
|
+ arch_local_irq_mask_now(INT_TILE_TIMER);
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -172,7 +172,7 @@ void __cpuinit setup_tile_timer(void)
|
|
|
evt->cpumask = cpumask_of(smp_processor_id());
|
|
|
|
|
|
/* Start out with timer not firing. */
|
|
|
- raw_local_irq_mask_now(INT_TILE_TIMER);
|
|
|
+ arch_local_irq_mask_now(INT_TILE_TIMER);
|
|
|
|
|
|
/* Register tile timer. */
|
|
|
clockevents_register_device(evt);
|
|
@@ -188,7 +188,7 @@ void do_timer_interrupt(struct pt_regs *regs, int fault_num)
|
|
|
* Mask the timer interrupt here, since we are a oneshot timer
|
|
|
* and there are now by definition no events pending.
|
|
|
*/
|
|
|
- raw_local_irq_mask(INT_TILE_TIMER);
|
|
|
+ arch_local_irq_mask(INT_TILE_TIMER);
|
|
|
|
|
|
/* Track time spent here in an interrupt context */
|
|
|
irq_enter();
|