summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/uapi
diff options
context:
space:
mode:
authorArnd Bergmann2018-12-30 15:16:48 +0100
committerArnd Bergmann2019-01-25 17:22:20 +0100
commit74cd2184833f8346a3e7f99b24097b3e25d41e11 (patch)
tree41a366aded3640d2fea17778a57e95230d1efaa4 /arch/ia64/include/uapi
parents390: remove compat_wrapper.c (diff)
downloadkernel-qcow2-linux-74cd2184833f8346a3e7f99b24097b3e25d41e11.tar.gz
kernel-qcow2-linux-74cd2184833f8346a3e7f99b24097b3e25d41e11.tar.xz
kernel-qcow2-linux-74cd2184833f8346a3e7f99b24097b3e25d41e11.zip
ia64: add __NR_umount2 definition
Other architectures commonly use __NR_umount2 for sys_umount, only ia64 and alpha use __NR_umount here. In order to synchronize the generated tables, use umount2 like everyone else, and add back the old name from asm/unistd.h for compatibility. The __IGNORE_* lines are now all obsolete and can be removed as a side-effect. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/ia64/include/uapi')
-rw-r--r--arch/ia64/include/uapi/asm/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/include/uapi/asm/unistd.h b/arch/ia64/include/uapi/asm/unistd.h
index b2513922dcb5..013e0bcacc39 100644
--- a/arch/ia64/include/uapi/asm/unistd.h
+++ b/arch/ia64/include/uapi/asm/unistd.h
@@ -15,6 +15,8 @@
#define __NR_Linux 1024
+#define __NR_umount __NR_umount2
+
#include <asm/unistd_64.h>
#endif /* _UAPI_ASM_IA64_UNISTD_H */