All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc: fix kgdb build failure due to context tracking
@ 2014-01-06 19:51 Paul Gortmaker
  2014-01-06 20:31 ` David Miller
  2014-01-06 20:39 ` Paul Gortmaker
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Gortmaker @ 2014-01-06 19:51 UTC (permalink / raw)
  To: sparclinux

The following allmodconfig build failure is seen:

  CC      arch/sparc/kernel/kgdb_64.o
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

Bisection leads to commit 812cb83a56a908729c453a7db3fb2c262119bc9d
("sparc64: Implement HAVE_CONTEXT_TRACKING").  This commit failed
to include the proper header for the above two functions in this file.

Cc: Kirill Tkhai <tkhai@yandex.ru>
Fixes: 812cb83a56a9 ("sparc64: Implement HAVE_CONTEXT_TRACKING")
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

diff --git a/arch/sparc/kernel/kgdb_64.c b/arch/sparc/kernel/kgdb_64.c
index 60b19f50c80a..3860e692fedc 100644
--- a/arch/sparc/kernel/kgdb_64.c
+++ b/arch/sparc/kernel/kgdb_64.c
@@ -5,6 +5,7 @@
 
 #include <linux/kgdb.h>
 #include <linux/kdebug.h>
+#include <linux/context_tracking.h>
 #include <linux/ftrace.h>
 
 #include <asm/cacheflush.h>
-- 
1.8.5.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-06 20:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 19:51 [PATCH] sparc: fix kgdb build failure due to context tracking Paul Gortmaker
2014-01-06 20:31 ` David Miller
2014-01-06 20:39 ` Paul Gortmaker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.