summaryrefslogtreecommitdiffstats
path: root/Documentation/pi-futex.txt
diff options
context:
space:
mode:
authorMichael Ellerman2012-02-20 22:32:30 +0100
committerBenjamin Herrenschmidt2012-02-22 06:48:49 +0100
commit922b9f86a020258d3ea3bfed27251efaed7a03a3 (patch)
tree5cdb92aed142e9d96c0e38352cbc0d6cb2dd581f /Documentation/pi-futex.txt
parentpowerpc: Remove references to cpu_*_map (diff)
downloadkernel-qcow2-linux-922b9f86a020258d3ea3bfed27251efaed7a03a3.tar.gz
kernel-qcow2-linux-922b9f86a020258d3ea3bfed27251efaed7a03a3.tar.xz
kernel-qcow2-linux-922b9f86a020258d3ea3bfed27251efaed7a03a3.zip
powerpc: Fix program check handling when lockdep is enabled
In commit 54321242afe ("Disable interrupts early in Program Check"), we switched from enabling to disabling interrupts in program_check_common. Whereas ENABLE_INTS leaves r3 untouched, if lockdep is enabled DISABLE_INTS calls into lockdep code and will clobber r3. That means we pass a bogus struct pt_regs* into program_check_exception() and all hell breaks loose. So load our regs pointer into r3 after we call DISABLE_INTS. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Documentation/pi-futex.txt')
0 files changed, 0 insertions, 0 deletions