of: MSI: Simplify irqdomain lookup
[linux/fpc-iii.git] / arch / x86 / um / asm / syscall.h
blob81d6562ce01d5ce52294691e03555c1b4cf3e10f
1 #ifndef __UM_ASM_SYSCALL_H
2 #define __UM_ASM_SYSCALL_H
4 #include <uapi/linux/audit.h>
6 typedef asmlinkage long (*sys_call_ptr_t)(unsigned long, unsigned long,
7 unsigned long, unsigned long,
8 unsigned long, unsigned long);
10 static inline int syscall_get_arch(void)
12 #ifdef CONFIG_X86_32
13 return AUDIT_ARCH_I386;
14 #else
15 return AUDIT_ARCH_X86_64;
16 #endif
19 #endif /* __UM_ASM_SYSCALL_H */