summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2022-04-26 16:46:45 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2022-05-02 04:56:18 +0200
commit5442b8c7dd1eb5e5ba8143c9abfbfe7dddedd375 (patch)
treee7c6bfd67e0aa5e1da55650267ead8638e54ff20 /arch/xtensa
parentirqchip: irq-xtensa-mx: fix initial IRQ affinity (diff)
downloadlinux-5442b8c7dd1eb5e5ba8143c9abfbfe7dddedd375.tar.xz
linux-5442b8c7dd1eb5e5ba8143c9abfbfe7dddedd375.zip
xtensa: fix declaration of _SecondaryResetVector_text_*
Secondary reset vector is defined, compiled and used when CONFIG_SECONDARY_RESET_VECTOR is enabled, not only on SMP. Make declarations of _SecondaryResetVector_text_* symbols available accordingly. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/include/asm/sections.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/sections.h b/arch/xtensa/include/asm/sections.h
index a8c42d08e281..3bc6b9afa993 100644
--- a/arch/xtensa/include/asm/sections.h
+++ b/arch/xtensa/include/asm/sections.h
@@ -29,7 +29,7 @@ extern char _Level5InterruptVector_text_end[];
extern char _Level6InterruptVector_text_start[];
extern char _Level6InterruptVector_text_end[];
#endif
-#ifdef CONFIG_SMP
+#ifdef CONFIG_SECONDARY_RESET_VECTOR
extern char _SecondaryResetVector_text_start[];
extern char _SecondaryResetVector_text_end[];
#endif