diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2017-12-10 03:44:11 +0100 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2017-12-10 23:48:52 +0100 |
commit | 2da03d4114b2587f0e8e45f4862074e34daee64e (patch) | |
tree | bb8b7dd122fa8fc036eeaa340264e2af405629cb /arch/xtensa/kernel/vectors.S | |
parent | xtensa: build kernel with text-section-literals (diff) | |
download | linux-2da03d4114b2587f0e8e45f4862074e34daee64e.tar.xz linux-2da03d4114b2587f0e8e45f4862074e34daee64e.zip |
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>
Diffstat (limited to 'arch/xtensa/kernel/vectors.S')
-rw-r--r-- | arch/xtensa/kernel/vectors.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/vectors.S b/arch/xtensa/kernel/vectors.S index 2bc85051c680..841503d3307c 100644 --- a/arch/xtensa/kernel/vectors.S +++ b/arch/xtensa/kernel/vectors.S @@ -305,8 +305,7 @@ _DoubleExceptionVector_WindowUnderflow: .Lunrecoverable: rsr a3, excsave1 wsr a0, excsave1 - movi a0, unrecoverable_exception - callx0 a0 + call0 unrecoverable_exception .Lfixup:/* Check for a fixup handler or if we were in a critical section. */ |