brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 432c4db Raw
41 lines · c
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */2/*3 * Syscall support for Hexagon4 *5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.6 *7 * This program is free software; you can redistribute it and/or modify8 * it under the terms of the GNU General Public License version 2 and9 * only version 2 as published by the Free Software Foundation.10 *11 * This program is distributed in the hope that it will be useful,12 * but WITHOUT ANY WARRANTY; without even the implied warranty of13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the14 * GNU General Public License for more details.15 *16 * You should have received a copy of the GNU General Public License17 * along with this program; if not, write to the Free Software18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA19 * 02110-1301, USA.20 */21 22/*23 *  The kernel pulls this unistd.h in three different ways:24 *  1.  the "normal" way which gets all the __NR defines25 *  2.  with __SYSCALL defined to produce function declarations26 *  3.  with __SYSCALL defined to produce syscall table initialization27 *  See also:  syscalltab.c28 */29 30#define sys_mmap2 sys_mmap_pgoff31#define __ARCH_WANT_RENAMEAT32#define __ARCH_WANT_STAT6433#define __ARCH_WANT_SET_GET_RLIMIT34#define __ARCH_WANT_SYS_EXECVE35#define __ARCH_WANT_SYS_CLONE36#define __ARCH_WANT_SYS_VFORK37#define __ARCH_WANT_SYS_FORK38#define __ARCH_WANT_TIME32_SYSCALLS39 40#include <asm-generic/unistd.h>41