aboutsummaryrefslogtreecommitdiffstats
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2012-06-27 13:13:52 +0000
committerBenjamin Herrenschmidt <[email protected]>2012-06-29 04:35:37 +0000
commit0b17ba7258db83cd02da560884e053b85de371f2 (patch)
tree970b6d210323d31f037c8593fd325636ec40a843 /lib/spinlock_debug.c
parentpowerpc/ftrace: Do not trace restore_interrupts() (diff)
downloadkernel-0b17ba7258db83cd02da560884e053b85de371f2.tar.gz
kernel-0b17ba7258db83cd02da560884e053b85de371f2.zip
powerpc: check_and_cede_processor() never cedes
Commit f948501b36c6 ("Make hard_irq_disable() actually hard-disable interrupts") caused check_and_cede_processor to stop working. ->irq_happened will never be zero right after a hard_irq_disable so the compiler removes the call to cede_processor completely. The bug was introduced back in the lazy interrupt handling rework of 3.4 but was hidden until recently because hard_irq_disable did nothing. This issue will eventually appear in 3.4 stable since the hard_irq_disable fix is marked stable, so mark this one for stable too. Signed-off-by: Anton Blanchard <[email protected]> Cc: [email protected] Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions