[PATCH 0/2] Fix build errors and warnings when make M=samples/bpf

From: Tiezhu Yang
Date: Wed Jan 13 2021 - 05:59:00 EST


There exists many build errors and warnings when make M=samples/bpf,
this patch series fix some of them, I will submit some other patches
related with MIPS later.

Tiezhu Yang (2):
samples/bpf: Set flag __SANE_USERSPACE_TYPES__ for MIPS to fix build
warnings
compiler.h: Include asm/rwonce.h under ARM64 and ALPHA to fix build
errors

include/linux/compiler.h | 6 ++++++
samples/bpf/Makefile | 4 ++++
tools/include/linux/types.h | 3 +++
3 files changed, 13 insertions(+)

--
2.1.0