Re: [PATCH] bpf: samples: exclude asm/sysreg.h for arm64

From: David Miller
Date: Mon Nov 16 2015 - 14:41:25 EST


From: Yang Shi <yang.shi@xxxxxxxxxx>
Date: Thu, 12 Nov 2015 14:07:46 -0800

> commit 338d4f49d6f7114a017d294ccf7374df4f998edc
> ("arm64: kernel: Add support for Privileged Access Never") includes sysreg.h
> into futex.h and uaccess.h. But, the inline assembly used by asm/sysreg.h is
> incompatible with llvm so it will cause BPF samples build failure for ARM64.
> Since sysreg.h is useless for BPF samples, just exclude it from Makefile via
> defining __ASM_SYSREG_H.
>
> Signed-off-by: Yang Shi <yang.shi@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/