OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e566d8
)
[PATCH] user_mode_vm() build fix
author
Andrew Morton
<akpm@osdl.org>
Wed, 27 Jul 2005 18:43:25 +0000
(11:43 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:25:47 +0000
(16:25 -0700)
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>
include/asm-i386/ptrace.h
patch
|
blob
|
history
diff --git
a/include/asm-i386/ptrace.h
b/include/asm-i386/ptrace.h
index
b926cb4
..
0553287
100644
(file)
--- 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 <asm/vm86.h>
+
struct task_struct;
extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code);