sparc: fix kgdb build failure due to context tracking
PATCH 1/1 sparc: fix kgdb build failure due to context tracking
The following allmodconfig build failure is seen:
CC arch/sparc/kernel/kgdb_64.oarch/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.
arch/sparc/kernel/kgdb_64.c +1 -0
@@ -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>
Signature · 1 line
1.8.5.1
David Miller
maintainerFrom: Paul Gortmaker <[email protected]>
Date: Mon, 6 Jan 2014 14:51:03 -0500
Quoted 1 line
The following allmodconfig build failure is seen:
Not in Linus's tree, it's already fixed there.
Quoted 6 lines · David Miller
From: Paul Gortmaker <[email protected]>
Date: Mon, 6 Jan 2014 14:51:03 -0500Quoted 1 line
The following allmodconfig build failure is seen:
Not in Linus's tree, it's already fixed there.
Sorry for the dup; was testing the init.h cleanups on the weekend's rc7 tag and didn't notice the fix was in after that...