[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120330143156.6c55bd32d207a074f65d1b16@canb.auug.org.au>
Date: Fri, 30 Mar 2012 14:31:56 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: David Howells <dhowells@...hat.com>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Linus <torvalds@...ux-foundation.org>,
"David S. Miller" <davem@...emloft.net>
Subject: linux-next: build failure after merge of the final tree (Linus'
tree related)
Hi all,
After merging the final tree, today's linux-next build (sparc64 defconfig)
failed like this:
kernel/signal.c: In function 'ptrace_stop':
kernel/signal.c:1860:3: error: implicit declaration of function 'synchronize_user_stack' [-Werror=implicit-function-declaration]
Presumably caused by commit d550bbd40c0e ("Disintegrate asm/system.h for
Sparc").
I added this patch for today:
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Fri, 30 Mar 2012 14:26:24 +1100
Subject: [PATCH] sparc: fix fallout from system.h split
Fixes this build error:
kernel/signal.c: In function 'ptrace_stop':
kernel/signal.c:1860:3: error: implicit declaration of function 'synchronize_user_stack' [-Werror=implicit-function-declaration]
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
arch/sparc/include/asm/ptrace.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/sparc/include/asm/ptrace.h b/arch/sparc/include/asm/ptrace.h
index ef8c7c0..8112096 100644
--- a/arch/sparc/include/asm/ptrace.h
+++ b/arch/sparc/include/asm/ptrace.h
@@ -165,6 +165,7 @@ struct sparc_stackf {
#ifdef __KERNEL__
#include <linux/threads.h>
+#include <asm/switch_to.h>
static inline int pt_regs_trap_type(struct pt_regs *regs)
{
@@ -241,6 +242,8 @@ extern unsigned long profile_pc(struct pt_regs *);
#ifdef __KERNEL__
+#include <asm/switch_to.h>
+
static inline bool pt_regs_is_syscall(struct pt_regs *regs)
{
return (regs->psr & PSR_SYSCALL);
--
1.7.9.5
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists