From: Andrew Morton Date: Wed, 27 Jul 2005 18:43:25 +0000 (-0700) Subject: [PATCH] user_mode_vm() build fix X-Git-Tag: v2.6.13-rc4~25^2~169 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=388b0925f59461cb482447ea87e6942b5653ee1d;p=linux-2.6-omap-h63xx.git [PATCH] user_mode_vm() build fix include/asm/ptrace.h: In function `user_mode_vm': include/asm/ptrace.h:67: `VM_MASK' undeclared (first use in this function) Cc: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-i386/ptrace.h b/include/asm-i386/ptrace.h index b926cb4f4cf..05532875e39 100644 --- a/include/asm-i386/ptrace.h +++ b/include/asm-i386/ptrace.h @@ -55,6 +55,9 @@ struct pt_regs { #define PTRACE_SET_THREAD_AREA 26 #ifdef __KERNEL__ + +#include + struct task_struct; extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code);