diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-10-21 14:32:30 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-11-01 15:17:25 +1100 |
commit | 93897a1f4b1a96171b4a445207a371df1b0d4601 (patch) | |
tree | db2e48ec418e740ea5b24bc75c0995b408674198 /arch | |
parent | f4093ee9d0bd8299ccdb26120a35bfe293fe95e7 (diff) | |
download | linux-93897a1f4b1a96171b4a445207a371df1b0d4601.tar.bz2 |
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')
-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 |