]> git.baikalelectronics.ru Git - kernel.git/commit
userfaultfd: selftest: only warn if __NR_userfaultfd is undefined
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 22 Sep 2015 21:58:58 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2015 22:09:53 +0000 (15:09 -0700)
commitb5c09a39077b77aed8dab5d91234f91ffe2073e4
tree6ecc1d7d2eaec950afcc43130565fa0daecce574
parentacd384de04ea6d117e8ded3631647d691789559c
userfaultfd: selftest: only warn if __NR_userfaultfd is undefined

If __NR_userfaultfd is not yet defined by the arch, warn but still build
and run the userfaultfd selftest successfully.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/vm/userfaultfd.c