162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * OpenRISC Linux 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Linux architectural port borrowing liberally from similar works of 662306a36Sopenharmony_ci * others. All original copyrights apply as per the original source 762306a36Sopenharmony_ci * declaration. 862306a36Sopenharmony_ci * 962306a36Sopenharmony_ci * OpenRISC implementation: 1062306a36Sopenharmony_ci * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com> 1162306a36Sopenharmony_ci * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 1262306a36Sopenharmony_ci * et al. 1362306a36Sopenharmony_ci * 1462306a36Sopenharmony_ci * This program is free software; you can redistribute it and/or modify 1562306a36Sopenharmony_ci * it under the terms of the GNU General Public License as published by 1662306a36Sopenharmony_ci * the Free Software Foundation; either version 2 of the License, or 1762306a36Sopenharmony_ci * (at your option) any later version. 1862306a36Sopenharmony_ci */ 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci#define sys_mmap2 sys_mmap_pgoff 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci#define __ARCH_WANT_RENAMEAT 2362306a36Sopenharmony_ci#define __ARCH_WANT_STAT64 2462306a36Sopenharmony_ci#define __ARCH_WANT_SET_GET_RLIMIT 2562306a36Sopenharmony_ci#define __ARCH_WANT_SYS_FORK 2662306a36Sopenharmony_ci#define __ARCH_WANT_SYS_CLONE 2762306a36Sopenharmony_ci#define __ARCH_WANT_SYS_CLONE3 2862306a36Sopenharmony_ci#define __ARCH_WANT_TIME32_SYSCALLS 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci#include <asm-generic/unistd.h> 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci#define __NR_or1k_atomic __NR_arch_specific_syscall 3362306a36Sopenharmony_ci__SYSCALL(__NR_or1k_atomic, sys_or1k_atomic) 34