x86/syscalls: Give sys_call_ptr_t a useful type
authorAndy Lutomirski <luto@kernel.org>
Tue, 6 Oct 2015 00:48:07 +0000 (17:48 -0700)
committerIngo Molnar <mingo@kernel.org>
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 <luto@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/4d3ecc4a169388d47009175408b2961961744e6f.1444091585.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
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