From: Kirill Tkhai <tkhai@yandex.ru>
To: Guenter Roeck <linux@roeck-us.net>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Ard Biesheuvel <ard.biesheuvel@linaro.org>,
Anton Blanchard <anton@samba.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: New build failures in v3.13-rc1
Date: Sun, 24 Nov 2013 03:54:30 +0400 [thread overview]
Message-ID: <14411385250870@web21g.yandex.ru> (raw)
In-Reply-To: <5290F68C.4060900@roeck-us.net>
23.11.2013, 22:40, "Guenter Roeck" <linux@roeck-us.net>:
> =======================
> 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@yandex.ru>
---
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>
next prev parent reply other threads:[~2013-11-24 0:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-23 18:40 New build failures in v3.13-rc1 Guenter Roeck
2013-11-23 18:51 ` Geert Uytterhoeven
2013-11-23 19:13 ` Guenter Roeck
2013-11-23 20:08 ` Ard Biesheuvel
2013-11-23 20:25 ` Guenter Roeck
2013-11-23 20:12 ` Guenter Roeck
2013-11-23 21:10 ` Benjamin Herrenschmidt
2013-11-23 23:54 ` Kirill Tkhai [this message]
2013-12-30 21:03 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14411385250870@web21g.yandex.ru \
--to=tkhai@yandex.ru \
--cc=anton@samba.org \
--cc=ard.biesheuvel@linaro.org \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox