Re: New build failures in v3.13-rc1

From: Kirill Tkhai
Date: Sat Nov 23 2013 - 19:01:51 EST


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/