summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/ppc-opcode.h
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@ieee.org>2013-10-29 22:25:14 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-10-31 12:37:29 +1100
commit711b5138d54fcfd5e312cea895d6e706a46eff19 (patch)
tree46d338141eca8c1ae048365ee7e8326132b3db64 /arch/powerpc/include/asm/ppc-opcode.h
parentde00b30d054857990dc573648e4767ec512009c7 (diff)
powerpc: Only save/restore SDR1 if in hypervisor mode
Currently, when not in hypervisor mode the kernel Oopses during suspend or hibernation when accessing the SDR1 register, because it is only available in hypervisor mode. Access to it needs to be protected in BEGIN/END_FW_FTR_SECTION. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Reported-by: Jimmy Pan <jipan@redhat.com> Tested-by: Jimmy Pan <jipan@redhat.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/ppc-opcode.h')
0 files changed, 0 insertions, 0 deletions