diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-07-08 23:00:56 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 17:33:26 (GMT) |
commit | e6a7d6077106e5c72f0519ec113d986df67ee001 (patch) | |
tree | 90ff605d73b95af65700d47af64029b71c98cf5f /tools/lib/traceevent | |
parent | 7c8df28633bf0b7eb253f866029be0ac59ddb062 (diff) | |
download | linux-fsl-qoriq-e6a7d6077106e5c72f0519ec113d986df67ee001.tar.xz |
ptrace/x86: simplify the "disable" logic in ptrace_write_dr7()
ptrace_write_dr7() looks unnecessarily overcomplicated. We can factor
out ptrace_modify_breakpoint() and do not do "continue" twice, just we
need to pass the proper "disabled" argument to
ptrace_modify_breakpoint().
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 'tools/lib/traceevent')
0 files changed, 0 insertions, 0 deletions