aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJiang Liu <[email protected]>2012-03-30 23:11:33 +0800
committerThomas Gleixner <[email protected]>2012-03-30 23:13:46 +0200
commitf5cb92ac82d06cb583c1f66666314c5c0a4d7913 (patch)
tree3553fcffceda28462137f73f3f81ccccc19c620b /scripts/patch-kernel
parent241fc640be783f903e74b6d9c68481c01873f758 (diff)
genirq: Adjust irq thread affinity on IRQ_SET_MASK_OK_NOCOPY return value
irq_move_masked_irq() checks the return code of chip->irq_set_affinity() only for 0, but IRQ_SET_MASK_OK_NOCOPY is also a valid return code, which is there to avoid a redundant copy of the cpumask. But in case of IRQ_SET_MASK_OK_NOCOPY we not only avoid the redundant copy, we also fail to adjust the thread affinity of an eventually threaded interrupt handler. Handle IRQ_SET_MASK_OK (==0) and IRQ_SET_MASK_OK_NOCOPY(==1) return values correctly by checking the valid return values seperately. Signed-off-by: Jiang Liu <[email protected]> Cc: Jiang Liu <[email protected]> Cc: Keping Chen <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions