summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/mm
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2021-02-25 11:42:46 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2021-03-08 20:15:09 -0800
commitab5eb336411f18fd449a1fb37d36a55ec422603f (patch)
tree350f5d6add91f2066d006618e5a0191dd0826dc7 /arch/xtensa/mm
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
downloadlinux-stable-ab5eb336411f18fd449a1fb37d36a55ec422603f.tar.gz
linux-stable-ab5eb336411f18fd449a1fb37d36a55ec422603f.tar.bz2
linux-stable-ab5eb336411f18fd449a1fb37d36a55ec422603f.zip
xtensa: move coprocessor_flush to the .text section
coprocessor_flush is not a part of fast exception handlers, but it uses parts of fast coprocessor handling code that's why it's in the same source file. It uses call0 opcode to invoke those parts so there are no limitations on their relative location, but the rest of the code calls coprocessor_flush with call8 and that doesn't work when vectors are placed in a different gigabyte-aligned area than the rest of the kernel. Move coprocessor_flush from the .exception.text section to the .text so that it's reachable from the rest of the kernel with call8. Cc: stable@vger.kernel.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/mm')
0 files changed, 0 insertions, 0 deletions