[PATCH 0/3] Address compilation of eBPF related software with clang compiler on arm architecture

From: Pavo Banicevic
Date: Tue Jul 27 2021 - 10:12:40 EST


This patchset is fixing compilation issues that are encountered in our usage of the Linux kernel.

Two patches are addressing compilation of eBPF related software with clang compiler on arm architecture.
The third patch resolves compilation of the perf tool in this specific scenario.

We are also interested in possible alternative approaches in fixing these compilation issues which could
then be incorporated into the mainline.

Ivan Khoronzhuk (2):
arm: include: asm: swab: mask rev16 instruction for clang
arm: include: asm: unified: mask .syntax unified for clang

Matt Redfearn (1):
include/uapi/linux/swab: Fix potentially missing __always_inline

arch/arm/include/asm/swab.h | 3 +++
arch/arm/include/asm/unified.h | 4 +++-
include/uapi/linux/swab.h | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)

--
2.32.0