From: Guenter Roeck Date: Wed, 28 Aug 2013 04:06:37 +0000 (-0700) Subject: xtensa: Fix broken allmodconfig build X-Git-Tag: v3.12-rc1~15^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8872366df396444d7655287c79ed182d8f47cba6;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Guenter Roeck Signed-off-by: Chris Zankel --- diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c index d8507f8..74a60c7 100644 --- a/arch/xtensa/kernel/xtensa_ksyms.c +++ b/arch/xtensa/kernel/xtensa_ksyms.c @@ -25,6 +25,7 @@ #include #include #include +#include #ifdef CONFIG_BLK_DEV_FD #include #endif