]> 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, 4 Sep 2013 08:01:51 +0000 (17:01 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 5 Sep 2013 05:47:53 +0000 (14:47 +0900)
commit7b096b40c9d3d2abb6bb747dd148c50c076c2e89
tree7c7fa8172a59c239583e1935db4932bfc1e3aff5
parent172705f8a40b6e72c53f8cceda079504ed71c4e0
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>
drivers/clocksource/em_sti.c