summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-11-23 18:55:30 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-11-28 10:46:57 +0100
commitea3aacf5f22c1002cac97985354658072232e280 (patch)
treeaecbe3136c65dccf303001668da3ff257a4deac5 /arch/arm/kernel/smp.c
parentMerge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadlinux-ea3aacf5f22c1002cac97985354658072232e280.tar.xz
linux-ea3aacf5f22c1002cac97985354658072232e280.zip
ARM: 7586/1: sp804: set cpumask to cpu_possible_mask for clock event device
The SP804 driver statically initialises the cpumask of the clock event device to be cpu_all_mask, which is derived from the compile-time constant NR_CPUS. This breaks SMP_ON_UP systems where the interrupt controller handling the sp804 doesn't have the irq_set_affinity callback on the irq_chip, because the common timer code fails to identify the device as cpu-local and ends up treating it as a broadcast device instead. This patch fixes the problem by using cpu_possible_mask at runtime, which will correctly represent the possible CPUs when SMP_ON_UP is being used. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions