• Helge Deller's avatar
    parisc: Implement __get/put_kernel_nofault() · 67102872
    Helge Deller authored
    Remove CONFIG_SET_FS from parisc, so we need to add
    __get_kernel_nofault() and __put_kernel_nofault(), define
    HAVE_GET_KERNEL_NOFAULT and remove set_fs(), get_fs(), load_sr2(),
    thread_info->addr_limit, KERNEL_DS and USER_DS.
    
    The nice side-effect of this patch is that we now can directly access
    userspace via sr3 without the need to use a temporary sr2 which is
    either copied from sr3 or set to zero (for kernel space).
    Signed-off-by: default avatarHelge Deller <deller@gmx.de>
    Suggested-by: default avatarArnd Bergmann <arnd@kernel.org>
    67102872
processor.h 9.26 KB