Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74cd2184 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
parent 90856087
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -12,20 +12,6 @@

#define NR_syscalls		__NR_syscalls /* length of syscall table */

/*
 * The following defines stop scripts/checksyscalls.sh from complaining about
 * unimplemented system calls.  Glibc provides for each of these by using
 * more modern equivalent system calls.
 */
#define __IGNORE_fork		/* clone() */
#define __IGNORE_time		/* gettimeofday() */
#define __IGNORE_alarm		/* setitimer(ITIMER_REAL, ... */
#define __IGNORE_pause		/* rt_sigprocmask(), rt_sigsuspend() */
#define __IGNORE_utime		/* utimes() */
#define __IGNORE_getpgrp	/* getpgid() */
#define __IGNORE_vfork		/* clone() */
#define __IGNORE_umount2	/* umount() */

#define __ARCH_WANT_NEW_STAT
#define __ARCH_WANT_SYS_UTIME

+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@

#define __NR_Linux      1024

#define __NR_umount __NR_umount2

#include <asm/unistd_64.h>

#endif /* _UAPI_ASM_IA64_UNISTD_H */
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
17	common	getpid				sys_getpid
18	common	getppid				sys_getppid
19	common	mount				sys_mount
20	common	umount				sys_umount
20	common	umount2				sys_umount
21	common	setuid				sys_setuid
22	common	getuid				sys_getuid
23	common	geteuid				sys_geteuid