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)
commitd065fcf12c21348cbc125460f75332f467518fb1
tree8d484707ac5db4b3e92c5692edf4c6069a47491b
parent8f8d5745bb520c76b81abef4a2cb3023d0313bfd
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