xtensa: use a14 instead of a15 in inline assembly
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 24 Jul 2021 06:17:04 +0000 (23:17 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 19 Oct 2021 05:19:34 +0000 (22:19 -0700)
commiteda8dd1224d6c1c89eb6b687264da9ccfbffb0fd
tree7298c07e5bd0956395a87e9c3cee209ce4bdb434
parente369953a5ba3295379095060f4ac72958da7c125
xtensa: use a14 instead of a15 in inline assembly

a15 is a frame pointer in the call0 xtensa ABI, don't use it explicitly
in the inline assembly. Use a14 instead, as it has the same properties
as a15 w.r.t. window overflow.

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