diff options
author | Will Deacon <will.deacon@arm.com> | 2011-07-27 15:18:59 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2011-08-31 10:17:59 +0100 |
commit | 0b390e2126e03b6ec41f96fb0550b1526d00e203 (patch) | |
tree | 36520568e01918ab82900631c75960016ffe464c /CREDITS | |
parent | b0e89590f4f27ea5ff30bdedb9a58ea904a6b353 (diff) | |
download | talos-obmc-linux-0b390e2126e03b6ec41f96fb0550b1526d00e203.tar.gz talos-obmc-linux-0b390e2126e03b6ec41f96fb0550b1526d00e203.zip |
ARM: perf: use cpumask_t to record active IRQs
Commit 5dfc54e0 ("ARM: GIC: avoid routing interrupts to offline CPUs")
prevents the GIC from setting the affinity of an IRQ to a CPU with
id >= nr_cpu_ids. This was previously abused by perf on some platforms
where more IRQs were registered than possible CPUs.
This patch fixes the problem by using a cpumask_t to keep track of the
active (requested) interrupts in perf. The same effect could be achieved
by limiting the number of IRQs to the number of CPUs, but using a mask
instead will be useful for adding extended CPU hotplug support in the
future.
Acked-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions