mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Andrea Arcangeli <aarcange@redhat.com>,
	Shuah Khan <shuahkh@osg.samsung.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-api@vger.kernel.org, linux-kernel@vger.kernel.org,
	Pavel Emelyanov <xemul@parallels.com>
Subject: [PATCH 0/2] selftests/userfaultfd: fix build
Date: Tue, 22 Sep 2015 11:45:54 +0100	[thread overview]
Message-ID: <1442918756-17892-1-git-send-email-andre.przywara@arm.com> (raw)

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


             reply	other threads:[~2015-09-22 10:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-22 10:45 Andre Przywara [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442918756-17892-1-git-send-email-andre.przywara@arm.com \
    --to=andre.przywara@arm.com \
    --cc=aarcange@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shuahkh@osg.samsung.com \
    --cc=xemul@parallels.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®