summaryrefslogtreecommitdiff
path: root/Documentation/console
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-07-08 23:00:59 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 17:33:26 (GMT)
commit9afe33ada275f2413dfeae27cc58fbb27474ac72 (patch)
treeb866d91c90e43c28db6444853cb381e514d65fc4 /Documentation/console
parent29a55513414187b50d3cebb99884955a78d97283 (diff)
downloadlinux-fsl-qoriq-9afe33ada275f2413dfeae27cc58fbb27474ac72.tar.xz
ptrace/x86: introduce ptrace_register_breakpoint()
No functional changes, preparation. Extract the "register breakpoint" code from ptrace_get_debugreg() into the new/generic helper, ptrace_register_breakpoint(). It will have more users. The patch also adds another simple helper, ptrace_fill_bp_fields(), to factor out the arch_bp_generic_fields() logic in register/modify. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jan Kratochvil <jan.kratochvil@redhat.com> Cc: Michael Neuling <mikey@neuling.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Will Deacon <will.deacon@arm.com> Cc: Prasad <prasad@linux.vnet.ibm.com> Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/console')
0 files changed, 0 insertions, 0 deletions