1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* 2 /* 3 * Copyright (C) 2018 David Abdurachmanov <dav !! 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. 4 * 6 * 5 * This program is free software; you can redi !! 7 * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle 6 * it under the terms of the GNU General Publi !! 8 * Copyright (C) 1999, 2000 Silicon Graphics, Inc. 7 * published by the Free Software Foundation. << 8 * 9 * 9 * This program is distributed in the hope tha !! 10 * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto 10 * but WITHOUT ANY WARRANTY; without even the !! 11 * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR << 12 * GNU General Public License for more details << 13 * << 14 * You should have received a copy of the GNU << 15 * along with this program. If not, see <http << 16 */ 12 */ 17 #include <asm/bitsperlong.h> !! 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 >> 20 #define __NR_Linux 4000 >> 21 #include <asm/unistd_o32.h> >> 22 >> 23 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ >> 24 >> 25 #if _MIPS_SIM == _MIPS_SIM_ABI64 >> 26 >> 27 #define __NR_Linux 5000 >> 28 #include <asm/unistd_n64.h> >> 29 >> 30 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ >> 31 >> 32 #if _MIPS_SIM == _MIPS_SIM_NABI32 >> 33 >> 34 #define __NR_Linux 6000 >> 35 #include <asm/unistd_n32.h> >> 36 >> 37 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 18 38 19 #if __BITS_PER_LONG == 64 !! 39 #endif /* _UAPI_ASM_UNISTD_H */ 20 #include <asm/unistd_64.h> << 21 #else << 22 #include <asm/unistd_32.h> << 23 #endif << 24 40
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.