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-api" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to