xref: /openbmc/linux/arch/alpha/include/uapi/asm/unistd.h (revision 597473720f4dc69749542bfcfed4a927a43d935e)
16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
296433f6eSDavid Howells #ifndef _UAPI_ALPHA_UNISTD_H
396433f6eSDavid Howells #define _UAPI_ALPHA_UNISTD_H
496433f6eSDavid Howells 
512b57c5cSArnd Bergmann /* These are traditionally the names linux-alpha uses for
612b57c5cSArnd Bergmann  * the two otherwise generic system calls */
712b57c5cSArnd Bergmann #define __NR_umount	__NR_umount2
812b57c5cSArnd Bergmann #define __NR_osf_shmat	__NR_shmat
912b57c5cSArnd Bergmann 
10*ecf7e0a4SArnd Bergmann /* These return an extra value but can be used as aliases */
11*ecf7e0a4SArnd Bergmann #define __NR_getpid	__NR_getxpid
12*ecf7e0a4SArnd Bergmann #define __NR_getuid	__NR_getxuid
13*ecf7e0a4SArnd Bergmann #define __NR_getgid	__NR_getxgid
14*ecf7e0a4SArnd Bergmann 
15a8faab54SFiroz Khan #include <asm/unistd_32.h>
16b67bfd29SFiroz Khan 
1796433f6eSDavid Howells #endif /* _UAPI_ALPHA_UNISTD_H */
18