CC davem, sparclinux On Sun, Nov 24, 2013 at 12:54 AM, Kirill Tkhai <tkhai@xxxxxxxxx> wrote: > 23.11.2013, 22:40, "Guenter Roeck" <linux@xxxxxxxxxxxx>: >> ======================= >> Building sparc64:allmodconfig ... failed >> -------------- >> Error log: >> arch/sparc/kernel/kgdb_64.c: In function 'kgdb_trap': >> arch/sparc/kernel/kgdb_64.c:162:7: error: implicit declaration of function 'exception_enter' [-Werror=implicit-function-declaration] >> arch/sparc/kernel/kgdb_64.c:176:2: error: implicit declaration of function 'exception_exit' [-Werror=implicit-function-declaration] >> cc1: all warnings being treated as errors >> make[2]: *** [arch/sparc/kernel/kgdb_64.o] Error 1 >> >> Introduced by commit 812cb83a5 (sparc64: Implement HAVE_CONTEXT_TRACKING). >> >> Reverting that commit fixes the problem. >> > > The patch below fixes the problem: > > Signed-off-by: Kirill Tkhai <tkhai@xxxxxxxxx> > --- > arch/sparc/kernel/kgdb_64.c | 1 + > 1 file changed, 1 insertion(+) > diff --git a/arch/sparc/kernel/kgdb_64.c b/arch/sparc/kernel/kgdb_64.c > index 60b19f5..b45fe3f 100644 > --- a/arch/sparc/kernel/kgdb_64.c > +++ b/arch/sparc/kernel/kgdb_64.c > @@ -6,6 +6,7 @@ > #include <linux/kgdb.h> > #include <linux/kdebug.h> > #include <linux/ftrace.h> > +#include <linux/context_tracking.h> > > #include <asm/cacheflush.h> > #include <asm/kdebug.h> > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html