]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7fee1e838df217a0bc7109fa437f35c75ccf780e
tree97756654a2df6d2f2916bfed6379abddd0de143f
parente59213c13661357ad059efeb5cb125feedcd7c42
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