x86: arch_has_single_step
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:48 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:48 +0000 (13:30 +0100)
commit7f232343e0ea37ffc0a552cdbd4825482c949281
tree8af4ce9586fa4288dbbd59ff2c79ccd62dc135db
parent77c03dcd448aa4c7be45f4edb97381ef463e3911
x86: arch_has_single_step

This defines the new standard arch_has_single_step macro.  It makes the
existing set_singlestep and clear_singlestep entry points global, and
renames them to the new standard names user_enable_single_step and
user_disable_single_step, respectively.

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/ptrace_32.c
arch/x86/kernel/ptrace_64.c
include/asm-x86/ptrace.h