diff options
author | Anshuman Khandual <khandual@linux.vnet.ibm.com> | 2015-05-21 12:13:03 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-06-07 19:29:00 +1000 |
commit | 1db365258ad9c3624897f48c764f8c557f492b26 (patch) | |
tree | 867098d8dc6eb7aa2667d1d53db9e69a27bf5aad /arch/powerpc/kvm | |
parent | 280e109992831ee16a0f74ae887c08fb26c021f1 (diff) | |
download | op-kernel-dev-1db365258ad9c3624897f48c764f8c557f492b26.zip op-kernel-dev-1db365258ad9c3624897f48c764f8c557f492b26.tar.gz |
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')
-rw-r--r-- | arch/powerpc/kvm/book3s_hv_rmhandlers.S | 2 |
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 4d70df2..faa86e9 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 */ |