]> Git Repo - linux.git/blob - arch/x86/um/asm/syscall.h
lib: radix-tree: check accounting of existing slot replacement users
[linux.git] / arch / x86 / um / asm / syscall.h
1 #ifndef __UM_ASM_SYSCALL_H
2 #define __UM_ASM_SYSCALL_H
3
4 #include <asm/syscall-generic.h>
5 #include <uapi/linux/audit.h>
6
7 typedef asmlinkage long (*sys_call_ptr_t)(unsigned long, unsigned long,
8                                           unsigned long, unsigned long,
9                                           unsigned long, unsigned long);
10
11 static inline int syscall_get_arch(void)
12 {
13 #ifdef CONFIG_X86_32
14         return AUDIT_ARCH_I386;
15 #else
16         return AUDIT_ARCH_X86_64;
17 #endif
18 }
19
20 #endif /* __UM_ASM_SYSCALL_H */
This page took 0.031887 seconds and 4 git commands to generate.