summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/processor.h
diff options
context:
space:
mode:
authorShreyas B. Prabhu <shreyas@linux.vnet.ibm.com>2016-07-08 09:20:47 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-07-15 13:18:40 +0300
commit4eae2c9ae54a5ef3ca32370e3b28a6f83c61401f (patch)
tree835869c4d61b7ae22f5e647be854cef44b026d95 /arch/powerpc/include/asm/processor.h
parent5fa6b6bd7adf347f2989560e7a3b7f806be0187f (diff)
downloadlinux-4eae2c9ae54a5ef3ca32370e3b28a6f83c61401f.tar.xz
powerpc/powernv: Make pnv_powersave_common more generic
pnv_powersave_common does common steps needed before entering idle state and eventually changes MSR to MSR_IDLE and does rfid to pnv_enter_arch207_idle_mode. Move the updation of HSTATE_HWTHREAD_STATE to pnv_powersave_common from pnv_enter_arch207_idle_mode and make it more generic by passing the rfid address as a function parameter. Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com> Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions