[PATCH] MIPS: Add missing include in arch/mips/include/asm/ptrace.h.

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

 



Add missing include in arch/mips/include/asm/ptrace.h.

Recent reorganization seems to have lost this include.  You cannot
build without it.

Signed-off-by: David Daney <ddaney@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Tomaso Paoletti <tpaoletti@xxxxxxxxxxxxxxxxxx>
---
arch/mips/include/asm/ptrace.h |    2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/mips/include/asm/ptrace.h b/arch/mips/include/asm/ptrace.h
index 7fe9812..36872b8 100644
--- a/arch/mips/include/asm/ptrace.h
+++ b/arch/mips/include/asm/ptrace.h
@@ -120,6 +120,8 @@ struct pt_watch_regs {

#include <linux/compiler.h>
#include <linux/linkage.h>
+#include <linux/sched.h>
+
#include <asm/isadep.h>

extern int ptrace_getregs(struct task_struct *child, __s64 __user *data);


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux