OSDN Git Service

xtensa: clean up assembly arguments in uaccess macros
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 10 Oct 2019 02:41:24 +0000 (19:41 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 14 Oct 2019 19:58:06 +0000 (12:58 -0700)
commitc0437642966fd32b827034af6f00eecd80b89325
treecdde186f9afb9e3cedcd988d9cdf0b7ba460b69c
parent6595d144decec396bf2e2efee27e50634a4b627f
xtensa: clean up assembly arguments in uaccess macros

Numeric assembly arguments are hard to understand and assembly code that
uses them is hard to modify. Use named arguments in __check_align_*,
__get_user_asm and __put_user_asm. Modify macro parameter names so that
they don't affect argument names. Use '+' constraint for the [err]
argument instead of having it as both input and output.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/uaccess.h