Skip to content

Commit 5442b8c

Browse files
committed
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 <[email protected]>
1 parent a255ee2 commit 5442b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/xtensa/include/asm/sections.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extern char _Level5InterruptVector_text_end[];
2929
extern char _Level6InterruptVector_text_start[];
3030
extern char _Level6InterruptVector_text_end[];
3131
#endif
32-
#ifdef CONFIG_SMP
32+
#ifdef CONFIG_SECONDARY_RESET_VECTOR
3333
extern char _SecondaryResetVector_text_start[];
3434
extern char _SecondaryResetVector_text_end[];
3535
#endif

0 commit comments

Comments
 (0)