Skip to content

Commit

Permalink
KVM: selftests: Remove __NR_userfaultfd syscall fallback
Browse files Browse the repository at this point in the history
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 <bgardon@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210901203030.1292304-6-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
Sean Christopherson authored and Paolo Bonzini committed Sep 22, 2021
1 parent 61e52f1 commit 2da4a23
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/arch/x86/include/uapi/asm/unistd_64.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2da4a23

Please sign in to comment.