summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/syscalls/syscall.tbl
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-12-11 19:50:20 +0100
committerHelge Deller <deller@gmx.de>2022-12-17 23:19:39 +0100
commit71bdea6f798b425bc0003780b13e3fdecb16a010 (patch)
tree5977f44eb3b734b91f477bcbed9e632b719c1615 /arch/parisc/kernel/syscalls/syscall.tbl
parent41f563ab3c33698bdfc3403c7c2e6c94e73681e4 (diff)
parisc: Align parisc MADV_XXX constants with all other architectures
Adjust some MADV_XXX constants to be in sync what their values are on all other platforms. There is currently no reason to have an own numbering on parisc, but it requires workarounds in many userspace sources (e.g. glibc, qemu, ...) - which are often forgotten and thus introduce bugs and different behaviour on parisc. A wrapper avoids an ABI breakage for existing userspace applications by translating any old values to the new ones, so this change allows us to move over all programs to the new ABI over time. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/syscalls/syscall.tbl')
-rw-r--r--arch/parisc/kernel/syscalls/syscall.tbl2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/syscalls/syscall.tbl b/arch/parisc/kernel/syscalls/syscall.tbl
index 8a99c998da9b..0e42fceb2d5e 100644
--- a/arch/parisc/kernel/syscalls/syscall.tbl
+++ b/arch/parisc/kernel/syscalls/syscall.tbl
@@ -131,7 +131,7 @@
116 common sysinfo sys_sysinfo compat_sys_sysinfo
117 common shutdown sys_shutdown
118 common fsync sys_fsync
-119 common madvise sys_madvise
+119 common madvise parisc_madvise
120 common clone sys_clone_wrapper
121 common setdomainname sys_setdomainname
122 common sendfile sys_sendfile compat_sys_sendfile