summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-ich.c
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2013-06-09 21:23:15 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-25 14:07:20 -0700
commitd6ea4422c89da1b08029d4db10635942a3b29b2a (patch)
tree31626b9ef31de6bdc9ec97da98fe901da0492223 /drivers/gpio/gpio-ich.c
parente544a74525b9accf4919822196f29cd967e7e5c0 (diff)
downloadlinux-3.10-d6ea4422c89da1b08029d4db10635942a3b29b2a.tar.gz
linux-3.10-d6ea4422c89da1b08029d4db10635942a3b29b2a.tar.bz2
linux-3.10-d6ea4422c89da1b08029d4db10635942a3b29b2a.zip
powerpc/tm: Fix writing top half of MSR on 32 bit signals
commit 1d25f11fdbcc5390d68efd98c28900bfd29b264c upstream. The MSR TM controls are in the top 32 bits of the MSR hence on 32 bit signals, we stick the top half of the MSR in the checkpointed signal context so that the user can access it. Unfortunately, we don't currently write anything to the checkpointed signal context when coming in a from a non transactional process and hence the top MSR bits can contain junk. This updates the 32 bit signal handling code to always write something to the top MSR bits so that users know if the process is transactional or not and the kernel can use it on signal return. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio/gpio-ich.c')
0 files changed, 0 insertions, 0 deletions