sparc: switch compat {f,}truncate64() to COMPAT_SYSCALL_DEFINE
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Mar 2018 14:34:57 +0000 (10:34 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Mar 2018 16:05:17 +0000 (12:05 -0400)
commit3d0e354e4e51f40a58ae8bff7ded60f0c1f5c618
tree0743109297ab83f7072783a5bdf95083b37de6f3
parent8c82ccd63192a3ed66a454fdd70da2a4cc8455a1
sparc: switch compat {f,}truncate64() to COMPAT_SYSCALL_DEFINE

... and drop the pointless checks - sys_truncate() itself
might've lacked the check when that stuff was first written,
but it has already grown one by the time that stuff went into
mainline.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/sparc/kernel/sys_sparc32.c
arch/sparc/kernel/systbls.h
arch/sparc/kernel/systbls_64.S