diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-08-28 00:06:37 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-09-06 12:50:56 -0400 |
commit | 8872366df396444d7655287c79ed182d8f47cba6 (patch) | |
tree | 4fa1cabc4968a000df172a55c7dd60f0fe8cd7d6 | |
parent | 8d5e1d8e62e87cd9eaecb4956261cce4320240fd (diff) |
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 478ba61af (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>
-rw-r--r-- | arch/xtensa/kernel/xtensa_ksyms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c index d8507f812f46..74a60c7e085e 100644 --- a/arch/xtensa/kernel/xtensa_ksyms.c +++ b/arch/xtensa/kernel/xtensa_ksyms.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <asm/io.h> | 25 | #include <asm/io.h> |
26 | #include <asm/page.h> | 26 | #include <asm/page.h> |
27 | #include <asm/pgalloc.h> | 27 | #include <asm/pgalloc.h> |
28 | #include <asm/ftrace.h> | ||
28 | #ifdef CONFIG_BLK_DEV_FD | 29 | #ifdef CONFIG_BLK_DEV_FD |
29 | #include <asm/floppy.h> | 30 | #include <asm/floppy.h> |
30 | #endif | 31 | #endif |