ANDROID: x86: entry: fix LSL open coding
Will notes that .quad is too long; while we get the right lsl
instruction, the rest of the instruction stream is incorrect.
Bug: 175018033
Fixes: e58f084735 ("ANDROID: x86: entry: work around LLVM_IAS=1 bug in LSL")
Reported-by: Alistair Delva <adelva@google.com>
Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Ied2fd2351eee72ff95402d80cbb1cefb78c6880a
This commit is contained in:
@@ -367,7 +367,7 @@ For 32-bit we have the following conventions - kernel is built with
|
||||
.macro LOAD_CPU_AND_NODE_SEG_LIMIT reg:req
|
||||
movq $__CPUNODE_SEG, \reg
|
||||
#ifdef __clang__
|
||||
.quad 0xc0030f48
|
||||
.long 0xc0030f48
|
||||
#else
|
||||
lsl \reg, \reg
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user