x86: move get_segment_eip() to step.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 30 Jan 2008 12:33:00 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:00 +0000 (13:33 +0100)
commit1379a5ce3ffc549a7ff3daffc49c5e1c372717a3
tree9138e94f173c6ce3bb267ca89888c72cf0a17614
parent3d97775a80a03013abe1fd681620925f884ad18a
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>
arch/x86/kernel/step.c
arch/x86/mm/fault_32.c
arch/x86/mm/fault_64.c
include/asm-x86/ptrace.h