linux-mips
[Top] [All Lists]

[PATCH -next] MIPS: ptrace: Add missing #include <asm/syscall.h>

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH -next] MIPS: ptrace: Add missing #include <asm/syscall.h>
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Mon, 17 Sep 2012 22:20:16 +0200
Cc: linux-mips@linux-mips.org, linux-next@vger.kernel.org, Geert Uytterhoeven <geert@linux-m68k.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Sender: linux-mips-bounce@linux-mips.org
arch/mips/kernel/ptrace.c: In function ‘syscall_trace_enter’:
arch/mips/kernel/ptrace.c:664: error: implicit declaration of function 
‘__syscall_get_arch’
make[2]: *** [arch/mips/kernel/ptrace.o] Error 1

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
E.g. http://kisskb.ellerman.id.au/kisskb/buildresult/7223557/

 arch/mips/kernel/ptrace.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c
index 94fd0f4..cc7c44f 100644
--- a/arch/mips/kernel/ptrace.c
+++ b/arch/mips/kernel/ptrace.c
@@ -40,6 +40,7 @@
 #include <asm/uaccess.h>
 #include <asm/bootinfo.h>
 #include <asm/reg.h>
+#include <asm/syscall.h>
 
 /*
  * Called by kernel/ptrace.c when detaching..
-- 
1.7.0.4


<Prev in Thread] Current Thread [Next in Thread>