diff mbox series

[kvm-unit-tests,v1,1/2] x86/cstart: Fix compilation issue in 32 bit mode

Message ID 20200714110919.50724-2-imbrenda@linux.ibm.com (mailing list archive)
State New, archived
Headers show
Series Fix some compilation issues on 32bit | expand

Commit Message

Claudio Imbrenda July 14, 2020, 11:09 a.m. UTC
Fix a typo in x86/cstart.S so that 32bit code can be compiled again on x86.

Fixes: d86ef58519645 ("cstart: do not assume CR4 starts as zero")
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
---
 x86/cstart.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/x86/cstart.S b/x86/cstart.S
index e63e4e2..c0efc5f 100644
--- a/x86/cstart.S
+++ b/x86/cstart.S
@@ -125,7 +125,7 @@  start:
         jmpl $8, $start32
 
 prepare_32:
-	mov %(1 << 4), %eax // pse
+	mov $(1 << 4), %eax // pse
 	mov %eax, %cr4
 
 	mov $pt, %eax