xtensa: only build windowed register support code when needed
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 26 Jul 2021 14:32:55 +0000 (07:32 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 19 Oct 2021 05:19:35 +0000 (22:19 -0700)
commitda0a4e5c8fbcce3d1afebf9f2a967083bb19634d
tree5decac9abd975143a4f0f0fd63607dc4aaadb324
parent09af39f649dac66c2681ca53977275fe876690cc
xtensa: only build windowed register support code when needed

There's no need in window overflow/underflow/alloca exception handlers
or window spill code when neither kernel nor userspace support windowed
registers. Don't build or link it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/traps.h
arch/xtensa/kernel/entry.S
arch/xtensa/kernel/setup.c
arch/xtensa/kernel/signal.c
arch/xtensa/kernel/traps.c
arch/xtensa/kernel/vectors.S
arch/xtensa/kernel/vmlinux.lds.S