[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <521D7889.8020305@roeck-us.net>
Date:	Tue, 27 Aug 2013 21:11:53 -0700
From:	Guenter Roeck <linux@...ck-us.net>
To:	Guenter Roeck <linux@...ck-us.net>
CC:	linux-xtensa@...ux-xtensa.org, linux-kernel@...r.kernel.org,
	Chris Zankel <chris@...kel.net>,
	Max Filippov <jcmvbkbc@...il.com>
Subject: Re: [PATCH] xtensa: Fix broken allmodconfig build
On 08/27/2013 09:06 PM, Guenter Roeck wrote:
> xtansa allmodbuild fails with:
>
Grmpf.
s/xtansa/xtensa
Guenter
> 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@...il.com>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
> ---
>   arch/xtensa/kernel/xtensa_ksyms.c |    1 +
>   1 file changed, 1 insertion(+)
>
> 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 <asm/io.h>
>   #include <asm/page.h>
>   #include <asm/pgalloc.h>
> +#include <asm/ftrace.h>
>   #ifdef CONFIG_BLK_DEV_FD
>   #include <asm/floppy.h>
>   #endif
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
