]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clocksource: em_sti: Set cpu_possible_mask to fix SMP broadcast
authorMagnus Damm <damm@opensource.se>
Wed, 18 Sep 2013 20:01:16 +0000 (15:01 -0500)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 26 Sep 2013 00:31:04 +0000 (02:31 +0200)
commit2199a5574b6d94b9ca26c6345356f45ec60fef8b
tree15206c39c18726deb780540a82afba05ee0fb7d2
parenteeb93d02c5d8819c74f6d4da08325cff8c6a9376
clocksource: em_sti: Set cpu_possible_mask to fix SMP broadcast

Update the STI driver by setting cpu_possible_mask to make EMEV2
SMP work as expected together with the ARM broadcast timer.

This breakage was introduced by:

f7db706 ARM: 7674/1: smp: Avoid dummy clockevent being preferred over real hardware clock-event

Without this fix SMP operation is broken on EMEV2 since no
broadcast timer interrupts trigger on the secondary CPU cores.

Signed-off-by: Magnus Damm <damm@opensource.se>
Tested-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/em_sti.c