Message ID | 20200714130030.56037-2-imbrenda@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Fix some compilation issues on 32bit | expand |
please disregard this patch, I had not noticed someone else had already sent this same patch shortly before me On Tue, 14 Jul 2020 15:00:29 +0200 Claudio Imbrenda <imbrenda@linux.ibm.com> wrote: > 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 --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
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
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(-)