License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6-block.git] / arch / x86 / um / asm / syscall.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
4b4665e1
EP
2#ifndef __UM_ASM_SYSCALL_H
3#define __UM_ASM_SYSCALL_H
4
d8f8b844 5#include <asm/syscall-generic.h>
4b4665e1
EP
6#include <uapi/linux/audit.h>
7
612bece6
AL
8typedef asmlinkage long (*sys_call_ptr_t)(unsigned long, unsigned long,
9 unsigned long, unsigned long,
10 unsigned long, unsigned long);
11
4b4665e1
EP
12static inline int syscall_get_arch(void)
13{
14#ifdef CONFIG_X86_32
15 return AUDIT_ARCH_I386;
16#else
17 return AUDIT_ARCH_X86_64;
18#endif
19}
20
21#endif /* __UM_ASM_SYSCALL_H */