summaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorIlie Halip <ilie.halip@gmail.com>2020-03-19 23:45:28 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2020-11-15 15:49:06 +0100
commit740a6aa9a87431ac9f63eee54f5aa1e2ac88dc20 (patch)
tree58d6b67aad99c410f868fb5274fef3549de02763 /lib/cpu-notifier-error-inject.c
parentae6624540ecbafaae26a9e0b97e4bc2401dbe62c (diff)
UPSTREAM: arm64: alternative: fix build with clang integrated assembler
Building an arm64 defconfig with clang's integrated assembler, this error occurs: <instantiation>:2:2: error: unrecognized instruction mnemonic _ASM_EXTABLE 9999b, 9f ^ arch/arm64/mm/cache.S:50:1: note: while in macro instantiation user_alt 9f, "dc cvau, x4", "dc civac, x4", 0 ^ While GNU as seems fine with case-sensitive macro instantiations, clang doesn't, so use the actual macro name (_asm_extable) as in the rest of the file. Also checked that the generated assembly matches the GCC output. Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Tested-by: Nick Desaulniers <ndesaulniers@google.com> Fixes: 290622efc76e ("arm64: fix "dc cvau" cache operation on errata-affected core") Link: https://github.com/ClangBuiltLinux/linux/issues/924 Signed-off-by: Ilie Halip <ilie.halip@gmail.com> Signed-off-by: Will Deacon <will@kernel.org> (cherry picked from commit 6f5459da2b8736720afdbd67c4bd2d1edba7d0e3) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I6b2b6e5418925259fd3bdd10e3ffe4e0730f56b4 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions