Skip to content

Commit 612bece

Browse files
amlutoIngo Molnar
authored andcommitted
um/x86: Fix build after x86 syscall changes
I didn't realize that um didn't include x86's asm/syscall.h. Re-add a missing typedef. Reported-by: Richard Weinberger <richard@nod.at> Signed-off-by: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Fixes: 034042c ("x86/entry/syscalls: Move syscall table declarations into asm/syscalls.h") Link: http://lkml.kernel.org/r/8d15b9a88f4fd49e3342757e0a34624ee5ce9220.1444696194.git.luto@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent af22aa7 commit 612bece

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/x86/um/asm/syscall.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
#include <uapi/linux/audit.h>
55

6+
typedef asmlinkage long (*sys_call_ptr_t)(unsigned long, unsigned long,
7+
unsigned long, unsigned long,
8+
unsigned long, unsigned long);
9+
610
static inline int syscall_get_arch(void)
711
{
812
#ifdef CONFIG_X86_32

0 commit comments

Comments
 (0)