]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: marco: Fix the affinity set for local timer of CPU1
authorZhiwu Song <Zhiwu.Song@csr.com>
Wed, 7 May 2014 06:46:44 +0000 (14:46 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 22 May 2014 16:54:47 +0000 (18:54 +0200)
commita08c724a8a089028902e7b94d9c9ceb7194820a6
treeca26bb1cc83093fbd87e0a899d98eef134b71ad7
parentfdf8007ea9baca41972a52f3ded454048e754d64
clocksource: marco: Fix the affinity set for local timer of CPU1

irqchip will reject the affinity set to CPUs which is not online
yet. but in the CPU1 wakeup stage, OS only sets CPU1 to be online
after local timer is set, so that causes the irq_set_affinity not
work. this patch moves to irq_force_affinity() for the low level
boot stage.

Signed-off-by: Zhiwu Song <Zhiwu.Song@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-marco.c