[PATCH 0/2] selftests/userfaultfd: fix build

From: Andre Przywara
Date: Tue Sep 22 2015 - 06:44:54 EST


These two patches fix building the userfaultfd test tool for me.
The first patch fixes a build error I experienced by removing a kernel
header from an uapi header file.
The second fix adds the syscall numbers for other architectures,
fixes a typo and makes the whole syscall numbering more future-proof.

Tested on x86, arm and arm64.

Andre Przywara (2):
userfaultfd: remove kernel header include from uapi header
selftests/userfaultfd: improve syscall number definition

include/uapi/linux/userfaultfd.h | 2 --
tools/testing/selftests/vm/userfaultfd.c | 13 ++++++++++++-
2 files changed, 12 insertions(+), 3 deletions(-)

--
2.5.1

--
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/