ANDROID: x86: entry: revert LSL workarounds

This commit is a squash of the following two commits:
- Revert "ANDROID: x86: entry: fix LSL open coding"
  This reverts commit cc7f7a8419.
- Revert "ANDROID: x86: entry: work around LLVM_IAS=1 bug in LSL"
  This reverts commit e58f084735.

Now that the toolchain has been upgraded, we no longer need a workaround
for the previous assembler bug.

Bug: 141693040
Bug: 171348143
Bug: 175018033
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Ice3329cf58d983fac5dc8bea551a73cb58c9cba4
This commit is contained in:
Nick Desaulniers 2021-01-26 11:00:05 -08:00
parent 5f339265fd
commit 3c2c8d8f7f

View File

@ -366,11 +366,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__
.long 0xc0030f48
#else
lsl \reg, \reg
#endif
.endm
/*