diff options
author | Tomasz Figa <t.figa@samsung.com> | 2013-09-25 12:00:59 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2013-09-26 02:30:15 +0200 |
commit | 5df718d84679936454e815451d748ccca0e9edad (patch) | |
tree | 1af7258b37ed0503c5626012258b87f46c3d07af /fs/Makefile | |
parent | 7b0dd72a4401d999dac70377f5d423b8e6d44f4b (diff) | |
download | linux-5df718d84679936454e815451d748ccca0e9edad.tar.bz2 |
clocksource: exynos_mct: Set IRQ affinity when the CPU goes online
Some variants of Exynos MCT, namely exynos4210-mct at the moment, use
normal, shared interrupts for local timers. This means that each
interrupt must have correct affinity set to fire only on CPU
corresponding to given local timer.
However after recent conversion of clocksource drivers to not use the
local timer API for local timer initialization any more, the point of
time when local timers get initialized changed and irq_set_affinity()
fails because the CPU is not marked as online yet.
This patch fixes this by moving the call to irq_set_affinity() to
CPU_ONLINE notification, so the affinity is being set when the CPU goes
online.
This fixes a regression introduced by commit
ee98d27df6 ARM: EXYNOS4: Divorce mct from local timer API
which rendered all Exynos4210 based boards unbootable due to
failing irq_set_affinity() making local timers inoperatible.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions