mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
@@ -12,20 +12,6 @@
|
|||||||
|
|
||||||
#define NR_syscalls __NR_syscalls /* length of syscall table */
|
#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_NEW_STAT
|
||||||
#define __ARCH_WANT_SYS_UTIME
|
#define __ARCH_WANT_SYS_UTIME
|
||||||
|
|
||||||
|
@@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
#define __NR_Linux 1024
|
#define __NR_Linux 1024
|
||||||
|
|
||||||
|
#define __NR_umount __NR_umount2
|
||||||
|
|
||||||
#include <asm/unistd_64.h>
|
#include <asm/unistd_64.h>
|
||||||
|
|
||||||
#endif /* _UAPI_ASM_IA64_UNISTD_H */
|
#endif /* _UAPI_ASM_IA64_UNISTD_H */
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
17 common getpid sys_getpid
|
17 common getpid sys_getpid
|
||||||
18 common getppid sys_getppid
|
18 common getppid sys_getppid
|
||||||
19 common mount sys_mount
|
19 common mount sys_mount
|
||||||
20 common umount sys_umount
|
20 common umount2 sys_umount
|
||||||
21 common setuid sys_setuid
|
21 common setuid sys_setuid
|
||||||
22 common getuid sys_getuid
|
22 common getuid sys_getuid
|
||||||
23 common geteuid sys_geteuid
|
23 common geteuid sys_geteuid
|
||||||
|
Reference in New Issue
Block a user