summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/journal.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-07-21 15:00:57 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-07-21 15:04:17 +0100
commit5dfc54e087c15f823ee9b6541d2f0f314e69cbed (patch)
tree845cabe598342a9dea2b77dafef629961ee0c89c /fs/reiserfs/journal.c
parent2ef75701d1711a1feee2a82b42a2597ddc05f88b (diff)
downloadblackbird-op-linux-5dfc54e087c15f823ee9b6541d2f0f314e69cbed.tar.gz
blackbird-op-linux-5dfc54e087c15f823ee9b6541d2f0f314e69cbed.zip
ARM: GIC: avoid routing interrupts to offline CPUs
The irq_set_affinity() method can be called with masks which include offline CPUs. This allows offline CPUs to have interrupts routed to them by writing to /proc/irq/*/smp_affinity after hotplug has taken a CPU offline. Fix this by ensuring that we select a target CPU present in both the required affinity and the online CPU mask. Ensure that we return IRQ_SET_MASK_OK (which happens to be 0) on success to ensure generic code copies the new mask into the irq_data structure. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'fs/reiserfs/journal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud