blob: 4abe387549ad25a03bbf407a0e83ff8b9ba4f3b7 [file] [log] [blame]
Greg Kroah-Hartmane2be04c2017-11-01 15:09:13 +01001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
David Howells61730c52012-10-09 09:47:14 +01002/*
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
6 *
7 * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle
8 * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
9 *
10 * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto
11 * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A
12 */
13#ifndef _UAPI_ASM_UNISTD_H
14#define _UAPI_ASM_UNISTD_H
15
16#include <asm/sgidefs.h>
17
18#if _MIPS_SIM == _MIPS_SIM_ABI32
19
Firoz Khan99bf73e2018-12-13 14:37:39 +053020#define __NR_Linux 4000
21#include <asm/unistd_o32.h>
David Howells61730c52012-10-09 09:47:14 +010022
David Howells61730c52012-10-09 09:47:14 +010023#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
24
David Howells61730c52012-10-09 09:47:14 +010025#if _MIPS_SIM == _MIPS_SIM_ABI64
26
Firoz Khan99bf73e2018-12-13 14:37:39 +053027#define __NR_Linux 5000
28#include <asm/unistd_n64.h>
Firoz Khanef2512c2018-12-13 14:37:33 +053029
David Howells61730c52012-10-09 09:47:14 +010030#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
31
David Howells61730c52012-10-09 09:47:14 +010032#if _MIPS_SIM == _MIPS_SIM_NABI32
33
Firoz Khan99bf73e2018-12-13 14:37:39 +053034#define __NR_Linux 6000
35#include <asm/unistd_n32.h>
Firoz Khanef2512c2018-12-13 14:37:33 +053036
David Howells61730c52012-10-09 09:47:14 +010037#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
38
David Howells61730c52012-10-09 09:47:14 +010039#endif /* _UAPI_ASM_UNISTD_H */