]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf241d8e74cdcaa931d1a74e4d7e6a997c3adf44
treecdde186f9afb9e3cedcd988d9cdf0b7ba460b69c
parentbcd1ebf40fc76d75b3e5afe119f9b91dde29ecb6
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