diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-08-05 23:38:29 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-08-06 09:57:02 +0300 |
commit | b82c1d235a30622177ce10dcb94dfd691a49922f (patch) | |
tree | 2842ec4e7fd4b7da84ad42775396469045b93aa0 /scripts | |
parent | 26fef9d0bbeba6bf5d18386bd20aff2c83caa0ed (diff) | |
download | linux-b82c1d235a30622177ce10dcb94dfd691a49922f.tar.xz |
syscalls: add back legacy __NR_nfsservctl macro
The conversion from the old unistd.h file to syscall.tbl dropped the
nfsservctl macro. This one was handled inconsistently across architectures
in the original introduction of the syscall.tbl format, and I went the
other way on this.
The syscall was already gone in linux-3.1 before the current users
of the generic table (other than openrisc) first appeared, so nobody
could actally use it, but putting the number back helps for consistency
since there are build scripts that check the presence of all these
macros.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2301919
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/syscall.tbl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/syscall.tbl b/scripts/syscall.tbl index b93d43561a2c..845e24eb372e 100644 --- a/scripts/syscall.tbl +++ b/scripts/syscall.tbl @@ -53,6 +53,7 @@ 39 common umount2 sys_umount 40 common mount sys_mount 41 common pivot_root sys_pivot_root +42 common nfsservctl sys_ni_syscall 43 32 statfs64 sys_statfs64 compat_sys_statfs64 43 64 statfs sys_statfs 44 32 fstatfs64 sys_fstatfs64 compat_sys_fstatfs64 |