Skip to content

Commit

Permalink
userfaultfd: register uapi generic syscall (aarch64)
Browse files Browse the repository at this point in the history
Add the userfaultfd syscalls to uapi asm-generic, it was tested with
postcopy live migration on aarch64 with both 4k and 64k pagesize
kernels.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Signed-off-by: Andrea Arcangeli <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
dagrh authored and torvalds committed Sep 22, 2015
1 parent 5dd01be commit 09f7298
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions include/uapi/asm-generic/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -709,17 +709,19 @@ __SYSCALL(__NR_memfd_create, sys_memfd_create)
__SYSCALL(__NR_bpf, sys_bpf)
#define __NR_execveat 281
__SC_COMP(__NR_execveat, sys_execveat, compat_sys_execveat)
#define __NR_membarrier 282
#define __NR_userfaultfd 282
__SYSCALL(__NR_userfaultfd, sys_userfaultfd)
#define __NR_membarrier 283
__SYSCALL(__NR_membarrier, sys_membarrier)

#undef __NR_syscalls
#define __NR_syscalls 283
#define __NR_syscalls 284

/*
* All syscalls below here should go away really,
* these are provided for both review and as a porting
* help for the C library version.
*
*
* Last chance: are any of these important enough to
* enable by default?
*/
Expand Down

0 comments on commit 09f7298

Please sign in to comment.