generic syscalls: Wire up statx syscall
The new syscall statx is implemented as generic code, so enable it
for architectures like openrisc which use the generic syscall table.
Fixes: a528d35e8b
("statx: Add a system call to make enhanced file info available")
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: David Howells <dhowells@redhat.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
This commit is contained in:
parent
97da3854c5
commit
fdfe4a393e
|
@ -730,9 +730,11 @@ __SYSCALL(__NR_pkey_mprotect, sys_pkey_mprotect)
|
||||||
__SYSCALL(__NR_pkey_alloc, sys_pkey_alloc)
|
__SYSCALL(__NR_pkey_alloc, sys_pkey_alloc)
|
||||||
#define __NR_pkey_free 290
|
#define __NR_pkey_free 290
|
||||||
__SYSCALL(__NR_pkey_free, sys_pkey_free)
|
__SYSCALL(__NR_pkey_free, sys_pkey_free)
|
||||||
|
#define __NR_statx 291
|
||||||
|
__SYSCALL(__NR_statx, sys_statx)
|
||||||
|
|
||||||
#undef __NR_syscalls
|
#undef __NR_syscalls
|
||||||
#define __NR_syscalls 291
|
#define __NR_syscalls 292
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* All syscalls below here should go away really,
|
* All syscalls below here should go away really,
|
||||||
|
|
Loading…
Reference in New Issue