OSDN Git Service

xtensa: use call instead of callx in assembly code
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 10 Dec 2017 02:44:11 +0000 (18:44 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 10 Dec 2017 22:48:52 +0000 (14:48 -0800)
commit2da03d4114b2587f0e8e45f4862074e34daee64e
treebb8b7dd122fa8fc036eeaa340264e2af405629cb
parentf8f02ca73cd8d1e2ac61ea1e5f0574a8c1f472fa
xtensa: use call instead of callx in assembly code

Now that xtensa assembly sources are compiled with -mlongcalls let the
assembler and linker relax call instructions into l32r + callx where
needed. This change makes the code cleaner and potentially a bit faster.

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