Contributors: 5
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
David Howells |
33 |
70.21% |
1 |
20.00% |
Firoz Khan |
8 |
17.02% |
1 |
20.00% |
Chris Zankel |
3 |
6.38% |
1 |
20.00% |
Max Filippov |
2 |
4.26% |
1 |
20.00% |
Greg Kroah-Hartman |
1 |
2.13% |
1 |
20.00% |
Total |
47 |
|
5 |
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _UAPI_XTENSA_UNISTD_H
#define _UAPI_XTENSA_UNISTD_H
#include <asm/unistd_32.h>
#define __ARCH_WANT_SYS_OLDUMOUNT
/*
* sysxtensa syscall handler
*
* int sysxtensa (SYS_XTENSA_ATOMIC_SET, ptr, val, unused);
* int sysxtensa (SYS_XTENSA_ATOMIC_ADD, ptr, val, unused);
* int sysxtensa (SYS_XTENSA_ATOMIC_EXG_ADD, ptr, val, unused);
* int sysxtensa (SYS_XTENSA_ATOMIC_CMP_SWP, ptr, oldval, newval);
* a2 a6 a3 a4 a5
*/
#define SYS_XTENSA_RESERVED 0 /* don't use this */
#define SYS_XTENSA_ATOMIC_SET 1 /* set variable */
#define SYS_XTENSA_ATOMIC_EXG_ADD 2 /* exchange memory and add */
#define SYS_XTENSA_ATOMIC_ADD 3 /* add to memory */
#define SYS_XTENSA_ATOMIC_CMP_SWP 4 /* compare and swap */
#define SYS_XTENSA_COUNT 5 /* count */
#endif /* _UAPI_XTENSA_UNISTD_H */