License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6-block.git] / arch / sparc / include / asm / unistd.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
9acee190
SR
2/*
3 * System calls under the Sparc.
4 *
5 * Don't be scared by the ugly clobbers, it is the only way I can
6 * think of right now to force the arguments into fixed registers
7 * before the trap into the system call with gcc 'asm' statements.
8 *
9 * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
10 *
11 * SunOS compatibility based upon preliminary work which is:
12 *
13 * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu)
14 */
54579826
DH
15#ifndef _SPARC_UNISTD_H
16#define _SPARC_UNISTD_H
17
18#include <uapi/asm/unistd.h>
9acee190 19
9acee190 20#ifdef __32bit_syscall_numbers__
f5e706ad 21#else
9acee190
SR
22#define __NR_time 231 /* Linux sparc32 */
23#endif
9acee190
SR
24#define __ARCH_WANT_OLD_READDIR
25#define __ARCH_WANT_STAT64
26#define __ARCH_WANT_SYS_ALARM
27#define __ARCH_WANT_SYS_GETHOSTNAME
28#define __ARCH_WANT_SYS_PAUSE
9acee190
SR
29#define __ARCH_WANT_SYS_SIGNAL
30#define __ARCH_WANT_SYS_TIME
31#define __ARCH_WANT_SYS_UTIME
32#define __ARCH_WANT_SYS_WAITPID
33#define __ARCH_WANT_SYS_SOCKETCALL
34#define __ARCH_WANT_SYS_FADVISE64
35#define __ARCH_WANT_SYS_GETPGRP
36#define __ARCH_WANT_SYS_LLSEEK
37#define __ARCH_WANT_SYS_NICE
38#define __ARCH_WANT_SYS_OLDUMOUNT
39#define __ARCH_WANT_SYS_SIGPENDING
40#define __ARCH_WANT_SYS_SIGPROCMASK
baed7fc9
CH
41#ifdef __32bit_syscall_numbers__
42#define __ARCH_WANT_SYS_IPC
43#else
9acee190 44#define __ARCH_WANT_COMPAT_SYS_TIME
8f9c0119 45#define __ARCH_WANT_COMPAT_SYS_SENDFILE
f5e706ad 46#endif
9acee190 47
9acee190 48#endif /* _SPARC_UNISTD_H */