unistd.h (320424c7d44f54c18df9812fd7c45f6963524002) | unistd.h (4e57a4ddf6b0d9cce1cf2ffd153df1ad3c2c9cc2) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2/* 3 * arch/arm/include/asm/unistd.h 4 * 5 * Copyright (C) 2001-2005 Russell King 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as 9 * published by the Free Software Foundation. 10 * 11 * Please forward _all_ changes to this file to rmk@arm.linux.org.uk, 12 * no matter what the change is. Thanks! 13 */ 14#ifndef _UAPI__ASM_ARM_UNISTD_H 15#define _UAPI__ASM_ARM_UNISTD_H 16 17#define __NR_OABI_SYSCALL_BASE 0x900000 | 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2/* 3 * arch/arm/include/asm/unistd.h 4 * 5 * Copyright (C) 2001-2005 Russell King 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as 9 * published by the Free Software Foundation. 10 * 11 * Please forward _all_ changes to this file to rmk@arm.linux.org.uk, 12 * no matter what the change is. Thanks! 13 */ 14#ifndef _UAPI__ASM_ARM_UNISTD_H 15#define _UAPI__ASM_ARM_UNISTD_H 16 17#define __NR_OABI_SYSCALL_BASE 0x900000 |
18#define __NR_SYSCALL_MASK 0x0fffff |
|
18 19#if defined(__thumb__) || defined(__ARM_EABI__) 20#define __NR_SYSCALL_BASE 0 21#include <asm/unistd-eabi.h> 22#else 23#define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE 24#include <asm/unistd-oabi.h> 25#endif --- 15 unchanged lines hidden --- | 19 20#if defined(__thumb__) || defined(__ARM_EABI__) 21#define __NR_SYSCALL_BASE 0 22#include <asm/unistd-eabi.h> 23#else 24#define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE 25#include <asm/unistd-oabi.h> 26#endif --- 15 unchanged lines hidden --- |