]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
userfaultfd: remove kernel header include from uapi header
authorAndre Przywara <andre.przywara@arm.com>
Thu, 1 Oct 2015 22:36:51 +0000 (15:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Oct 2015 01:42:35 +0000 (21:42 -0400)
commit9ff42d10c3b3e26d9555878f31b9a2e5c24efa57
tree83c7c568df204d7a2c07396b1edd975df3b052ef
parenta523841ee4e506fa1f05ff3a85b1e6d8176a3d4d
userfaultfd: remove kernel header include from uapi header

As include/uapi/linux/userfaultfd.h is a user visible header file, it
should not include kernel-exclusive header files.

So trying to build the userfaultfd test program from the selftests
directory fails, since it contains a reference to linux/compiler.h.  As
it turns out, that header is not really needed there, so we can simply
remove it to fix that issue.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/uapi/linux/userfaultfd.h