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

From: Geert Uytterhoeven <[email-masked]>
Date: Mon, 17 Sep 2012 22:20:16 +0200

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 <[email-masked]>
---
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