[PATCH v2 0/6] ARM: clang support
Stefan Agner
stefan at agner.ch
Sun Mar 25 11:09:53 PDT 2018
This patchset fixes some remaining issues when building the ARM
architecture using LLVM/clang. The patchset requires the following
kbuild change:
https://lkml.org/lkml/2018/3/19/1756
With that patch and this patchset applied and I can successfully
build (and boot) the multi_v7_defconfig with 4.16-rc5 using clang
5.0.1 and 6.0.0.
This version also adds a patch to mitigate a often printed warning
about duplicate 'const' declaration specifier when using get_user().
Stefan Agner (6):
bus: arm-cci: use asm unreachable
efi/libstub/arm: add support for building with clang
ARM: trusted_foundations: do not use naked function
ARM: drop no-thumb-interwork in EABI mode
ARM: add support for building ARM kernel with clang
ARM: uaccess: remove const to avoid duplicate specifier
arch/arm/Makefile | 2 +-
arch/arm/boot/compressed/Makefile | 2 +-
arch/arm/firmware/trusted_foundations.c | 14 +++++++++-----
arch/arm/include/asm/uaccess.h | 2 +-
drivers/bus/arm-cci.c | 2 --
drivers/firmware/efi/libstub/Makefile | 3 ++-
6 files changed, 14 insertions(+), 11 deletions(-)
--
2.16.2
More information about the linux-arm-kernel
mailing list