x86: single_step: share code
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:50 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:50 +0000 (13:30 +0100)
commit7122ec8158b0f88befd94f4da8feae2c8d08d1b4
tree17aa91add10e04cf27e93ba2b673fcb651ed39ba
parent5f76cb1f6c42e7575256595f85b8b97d84ec669e
x86: single_step: share code

This removes the single-step code from ptrace_32.c and uses the step.c code
shared with the 64-bit kernel.  The two versions of the code were nearly
identical already, so the shared code has only a couple of simple #ifdef's.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/Makefile_32
arch/x86/kernel/ptrace_32.c
arch/x86/kernel/step.c