Commit 93897a1f authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Paul Mackerras

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: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarPaul Mackerras <paulus@ozlabs.org>
parent f4093ee9
...@@ -113,7 +113,7 @@ slb_do_enter: ...@@ -113,7 +113,7 @@ slb_do_enter:
/* Remove all SLB entries that are in use. */ /* Remove all SLB entries that are in use. */
li r0, r0 li r0, 0
slbmte r0, r0 slbmte r0, r0
slbia slbia
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment