linux-mips
[Top] [All Lists]

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

To: linux-mips@linux-mips.org
Subject: [PATCH] MIPS: Add missing include in arch/mips/include/asm/ptrace.h.
From: David Daney <ddaney@caviumnetworks.com>
Date: Fri, 10 Oct 2008 12:40:14 -0700
Cc: "Paoletti, Tomaso" <Tomaso.Paoletti@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.16 (X11/20080723)
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@caviumnetworks.com>
Signed-off-by: Tomaso Paoletti <tpaoletti@caviumnetworks.com>
---
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);

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