From 7a73ecd2467442ff08977fb51423650216976904 Mon Sep 17 00:00:00 2001 From: "Huang, Tao" Date: Mon, 6 Jun 2016 17:15:39 +0800 Subject: [PATCH] Revert "clocksource: rockchip: add dynamic irq flag to the timer" This reverts commit fb50410985e6f6874dcfe6e3f12b4bccd5d0335b. Change-Id: I1d04b207ae34a15688c1dc77f08525a45541e39e Signed-off-by: Huang, Tao --- drivers/clocksource/rockchip_timer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/rockchip_timer.c b/drivers/clocksource/rockchip_timer.c index f3dfb1a1a610..b93fed6533c6 100644 --- a/drivers/clocksource/rockchip_timer.c +++ b/drivers/clocksource/rockchip_timer.c @@ -150,13 +150,12 @@ static void __init rk_timer_init(struct device_node *np) } ce->name = TIMER_NAME; - ce->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT | - CLOCK_EVT_FEAT_DYNIRQ; + ce->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; ce->set_next_event = rk_timer_set_next_event; ce->set_state_shutdown = rk_timer_shutdown; ce->set_state_periodic = rk_timer_set_periodic; ce->irq = irq; - ce->cpumask = cpu_all_mask; + ce->cpumask = cpumask_of(0); ce->rating = 250; ret = request_irq(irq, rk_timer_interrupt, IRQF_TIMER, TIMER_NAME, ce); -- 2.34.1