]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ptrace: arch_has_single_step
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:47 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:47 +0000 (13:30 +0100)
commitfb7fa8f1741c91f6c6e958762155abe9339476ca
treece916e9e735cdd0202015cd52f5e93b7a2df7011
parent022eb43419f896a3647f769cdc3b5e13a8fb8ee7
ptrace: arch_has_single_step

This defines the new macro arch_has_single_step() in linux/ptrace.h, a
default for when asm/ptrace.h does not define it.  It declares the new
user_enable_single_step and user_disable_single_step functions.
This is not used yet, but paves the way to harmonize on this interface
for the arch-specific calls on all machines.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/ptrace.h