x86/syscalls: Give sys_call_ptr_t a useful type
authorAndy Lutomirski <[email protected]>
Tue, 6 Oct 2015 00:48:07 +0000 (17:48 -0700)
committerIngo Molnar <[email protected]>
Fri, 9 Oct 2015 07:41:08 +0000 (09:41 +0200)
commiteb974c62565072e10c1422eb3205f5b611dd99a1
tree9435c647e61f26540e574bc0624aa515fdf1893c
parent034042cc1e2837a584cda0a5e4fc2b0a96b74543
x86/syscalls: Give sys_call_ptr_t a useful type

Syscalls are asmlinkage functions (on 32-bit kernels), take six
args of type unsigned long, and return long.  Note that uml
could probably be slightly cleaned up on top of this patch.

Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/4d3ecc4a169388d47009175408b2961961744e6f.1444091585.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/entry/syscall_32.c
arch/x86/entry/syscall_64.c
arch/x86/include/asm/syscall.h
arch/x86/um/sys_call_table_32.c
arch/x86/um/sys_call_table_64.c