OSDN Git Service

xtensa: get rid of stack frame in coprocessor_flush
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 18 Apr 2022 07:14:00 +0000 (00:14 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 May 2022 02:51:23 +0000 (19:51 -0700)
commitf29cab2906346fa93831376256e01f5a6629f979
tree07ee91a5f30628a3cbdb349d881874b1ed116e5e
parente45d4bfbeb265f352fe5f32852e64eca5fdabe13
xtensa: get rid of stack frame in coprocessor_flush

coprocessor_flush is an ordinary function, it can use all registers.
Don't reserve stack frame for it and use a7 to preserve a0 around the
context saving call.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/coprocessor.S