aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2015-09-24 17:32:14 +0800
committerCatalin Marinas <[email protected]>2015-10-09 17:40:35 +0100
commit217d453d473c5ddfd140a06bf9d8575218551020 (patch)
tree7cc69c16b02e64faf46344e0f4e6cb3afa43ac7c /include/linux/timerqueue.h
parenta78afccbbaa6d2df49768cabad8af28a0a84181d (diff)
arm64: fix a migrating irq bug when hotplug cpu
When cpu is disabled, all irqs will be migratged to another cpu. In some cases, a new affinity is different, the old affinity need to be updated and if irq_set_affinity's return value is IRQ_SET_MASK_OK_DONE, the old affinity can not be updated. Fix it by using irq_do_set_affinity. And migrating interrupts is a core code matter, so use the generic function irq_migrate_all_off_this_cpu() to migrate interrupts in kernel/irq/migration.c. Cc: Jiang Liu <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Will Deacon <[email protected]> Cc: Russell King - ARM Linux <[email protected]> Cc: Hanjun Guo <[email protected]> Acked-by: Marc Zyngier <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions