]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: Fix broken allmodconfig build
authorGuenter Roeck <linux@roeck-us.net>
Wed, 28 Aug 2013 04:06:37 +0000 (21:06 -0700)
committerChris Zankel <chris@zankel.net>
Fri, 6 Sep 2013 16:50:56 +0000 (09:50 -0700)
commit90495c3304eab1f4b526e20274a8bcc9f994ff12
tree4fa1cabc4968a000df172a55c7dd60f0fe8cd7d6
parent744da2fca8aeb0123f4eacc13dbdccf67424599f
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 2a1da0abe (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>
arch/xtensa/kernel/xtensa_ksyms.c