kernel/compat: convert to COMPAT_SYSCALL_DEFINE
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 3 Mar 2014 15:11:13 +0000 (16:11 +0100)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 6 Mar 2014 14:35:10 +0000 (15:35 +0100)
commit62a6fa97684ed4c124564ea92500ecd513d60611
treeee38d37c96e0920eb4f23789b789a112f917c839
parent378a10f3ae2e8a67ecc8f548c8e5ff25881bd88a
kernel/compat: convert to COMPAT_SYSCALL_DEFINE

Convert all compat system call functions where all parameter types
have a size of four or less than four bytes, or are pointer types
to COMPAT_SYSCALL_DEFINE.
The implicit casts within COMPAT_SYSCALL_DEFINE will perform proper
zero and sign extension to 64 bit of all parameters if needed.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
kernel/compat.c
kernel/ptrace.c