xtensa: Fix broken allmodconfig build
authorGuenter Roeck <linux@roeck-us.net>
Wed, 28 Aug 2013 04:06:37 +0000 (21:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:21:22 +0000 (17:21 -0700)
commitc1de625eadb792468774b6b46d71b1cb246cb868
tree01462dcb68b20a2dd2a99e591e0b299b9b041c41
parentf33e422584bed14b9f194f6a7bf61db68dd95e12
xtensa: Fix broken allmodconfig build

commit 8872366df396444d7655287c79ed182d8f47cba6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/kernel/xtensa_ksyms.c