]> Git Repo - J-linux.git/commitdiff
KVM: selftests: Remove __NR_userfaultfd syscall fallback
authorSean Christopherson <[email protected]>
Wed, 1 Sep 2021 20:30:30 +0000 (13:30 -0700)
committerPaolo Bonzini <[email protected]>
Wed, 22 Sep 2021 14:24:02 +0000 (10:24 -0400)
Revert the __NR_userfaultfd syscall fallback added for KVM selftests now
that x86's unistd_{32,63}.h overrides are under uapi/ and thus not in
KVM selftests' search path, i.e. now that KVM gets x86 syscall numbers
from the installed kernel headers.

No functional change intended.

Reviewed-by: Ben Gardon <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <20210901203030.1292304[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
tools/arch/x86/include/uapi/asm/unistd_64.h

index 4205ed4158bfcdd2052ac1fe0a47232e60274d0b..cb52a3a8b8fcdb2cee471b32440302fd9fd5baba 100644 (file)
@@ -1,7 +1,4 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __NR_userfaultfd
-#define __NR_userfaultfd 282
-#endif
 #ifndef __NR_perf_event_open
 # define __NR_perf_event_open 298
 #endif
This page took 0.05215 seconds and 4 git commands to generate.