summaryrefslogtreecommitdiff
path: root/arch/x86/um/asm/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/asm/syscall.h')
-rw-r--r--arch/x86/um/asm/syscall.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/um/asm/syscall.h b/arch/x86/um/asm/syscall.h
index 9fe77b7b5a0e..81d6562ce01d 100644
--- a/arch/x86/um/asm/syscall.h
+++ b/arch/x86/um/asm/syscall.h
@@ -3,6 +3,10 @@
#include <uapi/linux/audit.h>
+typedef asmlinkage long (*sys_call_ptr_t)(unsigned long, unsigned long,
+ unsigned long, unsigned long,
+ unsigned long, unsigned long);
+
static inline int syscall_get_arch(void)
{
#ifdef CONFIG_X86_32