summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/ptrace.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-01-30 13:33:00 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:33:00 +0100
commit1379a5ce3ffc549a7ff3daffc49c5e1c372717a3 (patch)
tree9138e94f173c6ce3bb267ca89888c72cf0a17614 /include/asm-x86/ptrace.h
parent3d97775a80a03013abe1fd681620925f884ad18a (diff)
downloadblackbird-op-linux-1379a5ce3ffc549a7ff3daffc49c5e1c372717a3.tar.gz
blackbird-op-linux-1379a5ce3ffc549a7ff3daffc49c5e1c372717a3.zip
x86: move get_segment_eip() to step.c
get_segment_eip has similarities to convert_rip_to_linear(), and is used in a similar context. Move get_segment_eip to step.c to allow easier consolidation. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/ptrace.h')
-rw-r--r--include/asm-x86/ptrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/ptrace.h b/include/asm-x86/ptrace.h
index 61946fe8c085..cc4456667d89 100644
--- a/include/asm-x86/ptrace.h
+++ b/include/asm-x86/ptrace.h
@@ -184,6 +184,8 @@ convert_rip_to_linear(struct task_struct *child, struct pt_regs *regs);
#ifdef __KERNEL__
+unsigned long get_segment_eip(struct pt_regs *regs, unsigned long *eip_limit);
+
/*
* These are defined as per linux/ptrace.h, which see.
*/
OpenPOWER on IntegriCloud