Skip to content

Commit 2da4a23

Browse files
sean-jcbonzini
authored andcommitted
KVM: selftests: Remove __NR_userfaultfd syscall fallback
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: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 61e52f1 commit 2da4a23

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/arch/x86/include/uapi/asm/unistd_64.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
2-
#ifndef __NR_userfaultfd
3-
#define __NR_userfaultfd 282
4-
#endif
52
#ifndef __NR_perf_event_open
63
# define __NR_perf_event_open 298
74
#endif

0 commit comments

Comments
 (0)