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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux