Skip to content

Commit

Permalink
[PATCH] user_mode_vm() build fix
Browse files Browse the repository at this point in the history
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 <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jul 27, 2005
1 parent 9e566d8 commit 388b092
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/asm-i386/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ struct pt_regs {
#define PTRACE_SET_THREAD_AREA 26

#ifdef __KERNEL__

#include <asm/vm86.h>

struct task_struct;
extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code);

Expand Down

0 comments on commit 388b092

Please sign in to comment.