Revert "parisc: implement full version of access_ok()"
authorHelge Deller <deller@gmx.de>
Tue, 19 Nov 2013 22:31:35 +0000 (23:31 +0100)
committerHelge Deller <deller@gmx.de>
Tue, 19 Nov 2013 22:31:35 +0000 (23:31 +0100)
commita0ffa8f06f77a6197405521324501614d281bee1
treed8e5ea262abf8c86bd2bddb66bdf56f2f26477db
parentdec8e46178bad9f1717a948572d76e0f804be801
Revert "parisc: implement full version of access_ok()"

This reverts commit 63379c135331c724d40a87b98eb62d2122981341.

It broke userspace and adding more checking is not needed.
Even checking if a syscall would access memory in page zero doesn't
makes sense since it may lead to some syscalls returning -EFAULT
where we would return other error codes on other platforms.
In summary, just drop this change and return to always return 1.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/uaccess.h