xtensa: use named assembly arguments in atomic.h
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 16 Oct 2019 07:33:10 +0000 (00:33 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 26 Nov 2019 19:33:38 +0000 (11:33 -0800)
commit643d6976ff0b950fc6e5d65adfda497ba792b149
treee5b59ed9823af4bf7c75e15a5fd6dcec35c79f71
parent5bf67094a3a2d99d5f96db30be286f6c41988177
xtensa: use named assembly arguments in atomic.h

Numeric assembly arguments are hard to understand and assembly code that
uses them is hard to modify. Use named arguments in ATOMIC_OP,
ATOMIC_OP_RETURN and ATOMIC_FETCH_OP macros.

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