浏览代码

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 年之前
父节点
当前提交
b218fa0e9c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();
 		prom_halt();
 	}
 	}
     
     
-	claim_ticker14(NULL, PROFILE_IRQ, 0);
+	sun4c_disable_irq(PROFILE_IRQ);
 }
 }
 
 
 #ifdef CONFIG_SMP
 #ifdef CONFIG_SMP