]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: clean up inline assembly in futex.h
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 6 May 2019 19:02:26 +0000 (12:02 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 7 May 2019 17:30:39 +0000 (10:30 -0700)
commit58be3e13ad2f2e80014a1953a1212d9b36fa47b1
tree8d484707ac5db4b3e92c5692edf4c6069a47491b
parent1122f0c12bbc6c392caa0a2800243e63cbdf8091
xtensa: clean up inline assembly in futex.h

Replace numeric inline assembly parameters with named parameters.
Drop unused parameters from the futex_atomic_cmpxchg_inatomic.
Use new temporary variable to hold target address in the fixup code in
futex_atomic_cmpxchg_inatomic. Conditionalize function bodies so that
only 'return -ENOSYS' is left in configurations without futex support.

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