summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s_hv_rmhandlers.S
diff options
context:
space:
mode:
authorAnshuman Khandual2015-05-21 08:43:03 +0200
committerMichael Ellerman2015-06-07 11:29:00 +0200
commit1db365258ad9c3624897f48c764f8c557f492b26 (patch)
tree867098d8dc6eb7aa2667d1d53db9e69a27bf5aad /arch/powerpc/kvm/book3s_hv_rmhandlers.S
parentpowerpc/kernel: Remove the unused extern dscr_default (diff)
downloadkernel-qcow2-linux-1db365258ad9c3624897f48c764f8c557f492b26.tar.gz
kernel-qcow2-linux-1db365258ad9c3624897f48c764f8c557f492b26.tar.xz
kernel-qcow2-linux-1db365258ad9c3624897f48c764f8c557f492b26.zip
powerpc/kernel: Rename PACA_DSCR to PACA_DSCR_DEFAULT
PACA_DSCR offset macro tracks dscr_default element in the paca structure. Better change the name of this macro to match that of the data element it tracks. Makes the code more readable. Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kvm/book3s_hv_rmhandlers.S')
-rw-r--r--arch/powerpc/kvm/book3s_hv_rmhandlers.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_hv_rmhandlers.S b/arch/powerpc/kvm/book3s_hv_rmhandlers.S
index 4d70df26c402..faa86e9c0551 100644
--- a/arch/powerpc/kvm/book3s_hv_rmhandlers.S
+++ b/arch/powerpc/kvm/book3s_hv_rmhandlers.S
@@ -324,7 +324,7 @@ kvm_start_guest:
kvm_secondary_got_guest:
/* Set HSTATE_DSCR(r13) to something sensible */
- ld r6, PACA_DSCR(r13)
+ ld r6, PACA_DSCR_DEFAULT(r13)
std r6, HSTATE_DSCR(r13)
/* Order load of vcore, ptid etc. after load of vcpu */