diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-07-21 15:14:21 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-07-21 15:14:21 +0100 |
commit | 78359cb86b8c4c8946f6732eac2757fa5e1d4de4 (patch) | |
tree | 750a896b26ca01b98e8106bef9f2b8a03ac2d32e /arch/arm/mm/fault.c | |
parent | ca15af19ac07908c8ca386f6d944a18aa343b868 (diff) |
ARM: CPU hotplug: ensure we migrate all IRQs off a downed CPU
Our selection of interrupts to consider for IRQ migration is sub-
standard. We were potentially including per-CPU interrupts in our
migration strategy, but omitting chained interrupts. This caused
some interrupts to remain on a downed CPU.
We were also trying to migrate interrupts which were not migratable,
resulting in an OOPS.
Instead, iterate over all interrupts, skipping per-CPU interrupts
or interrupts whose affinity does not include the downed CPU, and
attempt to set the affinity for every one else if their chip
implements irq_set_affinity().
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/fault.c')
0 files changed, 0 insertions, 0 deletions