1 #ifndef __UM_ASM_SYSCALL_H
2 #define __UM_ASM_SYSCALL_H
4 #include <asm/syscall-generic.h>
5 #include <uapi/linux/audit.h>
7 typedef asmlinkage long (*sys_call_ptr_t)(unsigned long, unsigned long,
8 unsigned long, unsigned long,
9 unsigned long, unsigned long);
11 static inline int syscall_get_arch(void)
14 return AUDIT_ARCH_I386;
16 return AUDIT_ARCH_X86_64;
20 #endif /* __UM_ASM_SYSCALL_H */