[Linux-Xtensa] Re: [PATCH] xtensa: kernel: add "asm/ftrace.h" for pass compiling

Max Filippov jcmvbkbc at gmail.com
Wed Jul 10 07:20:13 PDT 2013


On Wed, Jul 10, 2013 at 12:53 PM, Chen Gang <gang.chen at asianux.com> wrote:
> Need add "asm/ftrace.h" for pass compiling.

Oops, that's correct for building with modules support enabled.
Acked-by: Max Filippov <jcmvbkbc at gmail.com>

> Cross-compiler is compiled from binutils-2.23.2 and gcc-4.9.0 source.
>
> The related error (with allmodconfig for fsf processor):
>
>   arch/xtensa/kernel/xtensa_ksyms.c:129:15: error: '_mcount' undeclared here (not in a function)
>
> Signed-off-by: Chen Gang <gang.chen at asianux.com>
> ---
>  arch/xtensa/kernel/xtensa_ksyms.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)

-- 
Thanks.
-- Max


More information about the linux-xtensa mailing list