Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e482856 authored by Nick Desaulniers's avatar Nick Desaulniers
Browse files

Revert "ANDROID: arm64: lse: fix LSE atomics with LTO"



This reverts commit 3bd6dd6a.

Fixed upstream by
commit e0d5896bd356 ("arm64: lse: fix LSE atomics with LLVM's integrated assembler")
which landed in v4.19.164.

Bug: 117299373
Bug: 133186739
Bug: 141693040
Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Change-Id: I1495c03a1512a7f9c3da9d5e4517619c2291dba8
parent 1817b196
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -22,13 +22,6 @@

#else	/* __ASSEMBLER__ */

#ifdef CONFIG_LTO_CLANG
#define __LSE_PREAMBLE	".arch_extension lse\n"
#else
__asm__(".arch_extension	lse");
#define __LSE_PREAMBLE
#endif

/* Move the ll/sc atomics out-of-line */
#define __LL_SC_INLINE		notrace
#define __LL_SC_PREFIX(x)	__ll_sc_##x