]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26cc3e17f06ef287d02369856feb8ade154e4e41
tree17aa91add10e04cf27e93ba2b673fcb651ed39ba
parent343dcb2ad49550c65a1fb82a7d23e008618aeaf8
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