diff options
author | Andi Kleen <ak@suse.de> | 2005-04-16 18:24:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:24:59 -0400 |
commit | f1290ec93e5da4a748ca4758a00b580283e06596 (patch) | |
tree | 16cc70b78452643771161a15092228a8d3bab7ad /include/asm-x86_64 | |
parent | e502cdd63de666832b3b65017bb607c22d2868de (diff) |
[PATCH] x86_64: Use a common function to find code segment bases
To avoid some code duplication.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r-- | include/asm-x86_64/ptrace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86_64/ptrace.h b/include/asm-x86_64/ptrace.h index c7865cfedc1f..5bbc8d3141c8 100644 --- a/include/asm-x86_64/ptrace.h +++ b/include/asm-x86_64/ptrace.h | |||
@@ -86,6 +86,11 @@ struct pt_regs { | |||
86 | extern unsigned long profile_pc(struct pt_regs *regs); | 86 | extern unsigned long profile_pc(struct pt_regs *regs); |
87 | void signal_fault(struct pt_regs *regs, void __user *frame, char *where); | 87 | void signal_fault(struct pt_regs *regs, void __user *frame, char *where); |
88 | 88 | ||
89 | struct task_struct; | ||
90 | |||
91 | extern unsigned long | ||
92 | convert_rip_to_linear(struct task_struct *child, struct pt_regs *regs); | ||
93 | |||
89 | enum { | 94 | enum { |
90 | EF_CF = 0x00000001, | 95 | EF_CF = 0x00000001, |
91 | EF_PF = 0x00000004, | 96 | EF_PF = 0x00000004, |