From: Max Filippov Date: Tue, 26 Apr 2022 14:46:45 +0000 (-0700) Subject: xtensa: fix declaration of _SecondaryResetVector_text_* X-Git-Tag: v5.19-rc1~213^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5442b8c7dd1eb5e5ba8143c9abfbfe7dddedd375;p=thirdparty%2Flinux.git 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 --- diff --git a/arch/xtensa/include/asm/sections.h b/arch/xtensa/include/asm/sections.h index a8c42d08e281c..3bc6b9afa9939 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