linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] selftests/userfaultfd: fix build
@ 2015-09-22 10:45 Andre Przywara
  2015-09-22 10:45 ` [PATCH 1/2] userfaultfd: remove kernel header include from uapi header Andre Przywara
  2015-09-22 10:45 ` [PATCH 2/2] selftests/userfaultfd: improve syscall number definition Andre Przywara
  0 siblings, 2 replies; 9+ messages in thread
From: Andre Przywara @ 2015-09-22 10:45 UTC (permalink / raw)
  To: Andrea Arcangeli, Shuah Khan
  Cc: Andrew Morton, linux-api, linux-kernel, Pavel Emelyanov

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-09-24  2:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-22 10:45 [PATCH 0/2] selftests/userfaultfd: fix build Andre Przywara
2015-09-22 10:45 ` [PATCH 1/2] userfaultfd: remove kernel header include from uapi header Andre Przywara
2015-09-22 10:45 ` [PATCH 2/2] selftests/userfaultfd: improve syscall number definition Andre Przywara
2015-09-22 13:49   ` Shuah Khan
2015-09-22 14:06     ` Andrea Arcangeli
2015-09-22 17:15       ` Andre Przywara
2015-09-23  9:55         ` Michael Ellerman
2015-09-23 13:11           ` Andre Przywara
2015-09-24  2:04             ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).