Skip to content

Commit 8872366

Browse files
groeckczankel
authored andcommitted
xtensa: Fix broken allmodconfig build
xtansa allmodbuild fails with: arch/xtensa/kernel/xtensa_ksyms.c:129:1: error: '_mcount' undeclared here (not in a function) make[2]: *** [arch/xtensa/kernel/xtensa_ksyms.o] Error 1 make[1]: *** [arch/xtensa/kernel] Error 2 The breakage is due to commit 478ba61 (xtensa: add static function tracer support) which exports _mcount without declaring it. Cc: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Chris Zankel <chris@zankel.net>
1 parent 8d5e1d8 commit 8872366

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/xtensa/kernel/xtensa_ksyms.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <asm/io.h>
2626
#include <asm/page.h>
2727
#include <asm/pgalloc.h>
28+
#include <asm/ftrace.h>
2829
#ifdef CONFIG_BLK_DEV_FD
2930
#include <asm/floppy.h>
3031
#endif

0 commit comments

Comments
 (0)