From: Huang, Tao Date: Mon, 6 Jun 2016 09:15:39 +0000 (+0800) Subject: Revert "clocksource: rockchip: add dynamic irq flag to the timer" X-Git-Tag: firefly_0821_release~2391 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7a73ecd2467442ff08977fb51423650216976904;p=firefly-linux-kernel-4.4.55.git Revert "clocksource: rockchip: add dynamic irq flag to the timer" This reverts commit fb50410985e6f6874dcfe6e3f12b4bccd5d0335b. Change-Id: I1d04b207ae34a15688c1dc77f08525a45541e39e Signed-off-by: Huang, Tao --- 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);