1e2be04c7SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23ed8d115SDavid Howells /* 33ed8d115SDavid Howells * Syscall support for Hexagon 43ed8d115SDavid Howells * 5e1858b2aSRichard Kuo * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 63ed8d115SDavid Howells * 73ed8d115SDavid Howells * This program is free software; you can redistribute it and/or modify 83ed8d115SDavid Howells * it under the terms of the GNU General Public License version 2 and 93ed8d115SDavid Howells * only version 2 as published by the Free Software Foundation. 103ed8d115SDavid Howells * 113ed8d115SDavid Howells * This program is distributed in the hope that it will be useful, 123ed8d115SDavid Howells * but WITHOUT ANY WARRANTY; without even the implied warranty of 133ed8d115SDavid Howells * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 143ed8d115SDavid Howells * GNU General Public License for more details. 153ed8d115SDavid Howells * 163ed8d115SDavid Howells * You should have received a copy of the GNU General Public License 173ed8d115SDavid Howells * along with this program; if not, write to the Free Software 183ed8d115SDavid Howells * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 193ed8d115SDavid Howells * 02110-1301, USA. 203ed8d115SDavid Howells */ 213ed8d115SDavid Howells 223ed8d115SDavid Howells /* 233ed8d115SDavid Howells * The kernel pulls this unistd.h in three different ways: 243ed8d115SDavid Howells * 1. the "normal" way which gets all the __NR defines 253ed8d115SDavid Howells * 2. with __SYSCALL defined to produce function declarations 263ed8d115SDavid Howells * 3. with __SYSCALL defined to produce syscall table initialization 273ed8d115SDavid Howells * See also: syscalltab.c 283ed8d115SDavid Howells */ 293ed8d115SDavid Howells 303ed8d115SDavid Howells #define sys_mmap2 sys_mmap_pgoff 31b0da6d44SJames Hogan #define __ARCH_WANT_RENAMEAT 32bf4b6a7dSArnd Bergmann #define __ARCH_WANT_STAT64 3380d7da1cSYury Norov #define __ARCH_WANT_SET_GET_RLIMIT 34c05c3ec4SRichard Kuo #define __ARCH_WANT_SYS_EXECVE 35f01aceacSAl Viro #define __ARCH_WANT_SYS_CLONE 36c05c3ec4SRichard Kuo #define __ARCH_WANT_SYS_VFORK 37c05c3ec4SRichard Kuo #define __ARCH_WANT_SYS_FORK 38c8ce48f0SArnd Bergmann #define __ARCH_WANT_TIME32_SYSCALLS 39*32dffe13SArnd Bergmann #define __ARCH_WANT_SYNC_FILE_RANGE2 403ed8d115SDavid Howells 413ed8d115SDavid Howells #include <asm-generic/unistd.h> 42