alpha: don't bother with __access_ok() in traps.c
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 27 Dec 2016 07:23:46 +0000 (02:23 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 28 Mar 2017 22:23:18 +0000 (18:23 -0400)
commitf14d6b4f52616465fead8c4b6508a6687032660d
tree97756654a2df6d2f2916bfed6379abddd0de143f
parentd78d834bed81bf838281270c7ae3790c88fc95aa
alpha: don't bother with __access_ok() in traps.c

we want to check that address is below TASK_SIZE; sure,
__access_ok(addr, 0, USER_DS) will do that, but it's more straightforward
to just spell it out and that way we can get rid of the damn 'segment'
argument of __access_ok().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/alpha/kernel/traps.c