parisc: Use SR_USER and SR_KERNEL in get_user() and put_user()
authorHelge Deller <deller@gmx.de>
Wed, 16 Feb 2022 22:11:20 +0000 (23:11 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 11 Mar 2022 18:49:30 +0000 (19:49 +0100)
commit5613a930857ecfdb5f670992d55d2e7373d21d1b
treecb52292099aa871e52938b3298635033c98225e2
parent46b4016f7d3b1c16c5eefcdf16dd32e84f4dbb60
parisc: Use SR_USER and SR_KERNEL in get_user() and put_user()

Instead of hardcoding the space registers as strings, use the SR_USER
and SR_KERNEL constants to form the space register in the access
functions.

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