diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-10-21 06:32:30 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-11-01 05:17:25 +0100 |
commit | 93897a1f4b1a96171b4a445207a371df1b0d4601 (patch) | |
tree | db2e48ec418e740ea5b24bc75c0995b408674198 /arch/powerpc | |
parent | KVM: PPC: Book3S PR: Only install valid SLBs during KVM_SET_SREGS (diff) | |
download | linux-93897a1f4b1a96171b4a445207a371df1b0d4601.tar.xz linux-93897a1f4b1a96171b4a445207a371df1b0d4601.zip |
KVM: PPC: Book3S: Fix gas warning due to using r0 as immediate 0
This fixes the message:
arch/powerpc/kvm/book3s_segment.S: Assembler messages:
arch/powerpc/kvm/book3s_segment.S:330: Warning: invalid register expression
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kvm/book3s_64_slb.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_64_slb.S b/arch/powerpc/kvm/book3s_64_slb.S index 3589c4e3d49b..688722acd692 100644 --- a/arch/powerpc/kvm/book3s_64_slb.S +++ b/arch/powerpc/kvm/book3s_64_slb.S @@ -113,7 +113,7 @@ slb_do_enter: /* Remove all SLB entries that are in use. */ - li r0, r0 + li r0, 0 slbmte r0, r0 slbia |