x86/speculation/mds: Fix documentation typo
[linux/fpc-iii.git] / arch / x86 / um / asm / syscall.h
blobef898af102d164270cb27f0655780df60a45c1a9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __UM_ASM_SYSCALL_H
3 #define __UM_ASM_SYSCALL_H
5 #include <asm/syscall-generic.h>
6 #include <uapi/linux/audit.h>
8 typedef asmlinkage long (*sys_call_ptr_t)(unsigned long, unsigned long,
9 unsigned long, unsigned long,
10 unsigned long, unsigned long);
12 static inline int syscall_get_arch(void)
14 #ifdef CONFIG_X86_32
15 return AUDIT_ARCH_I386;
16 #else
17 return AUDIT_ARCH_X86_64;
18 #endif
21 #endif /* __UM_ASM_SYSCALL_H */