/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1/*2* System calls under the Sparc.3*4* Don't be scared by the ugly clobbers, it is the only way I can5* think of right now to force the arguments into fixed registers6* before the trap into the system call with gcc 'asm' statements.7*8* Copyright (C) 1995, 2007 David S. Miller ([email protected])9*10* SunOS compatibility based upon preliminary work which is:11*12* Copyright (C) 1995 Adrian M. Rodriguez ([email protected])13*/14#ifndef _UAPI_SPARC_UNISTD_H15#define _UAPI_SPARC_UNISTD_H1617#ifndef __32bit_syscall_numbers__18#ifndef __arch64__19#define __32bit_syscall_numbers__20#endif21#endif2223#ifdef __arch64__24#include <asm/unistd_64.h>25#else26#include <asm/unistd_32.h>27#endif2829/* Bitmask values returned from kern_features system call. */30#define KERN_FEATURE_MIXED_MODE_STACK 0x000000013132#endif /* _UAPI_SPARC_UNISTD_H */333435