Oleg Nesterov e6a7d60771 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>
2013-07-09 10:33:26 -07:00
..
2013-04-23 13:45:22 +02:00
2013-02-22 23:31:31 -05:00
2012-08-22 09:34:24 +02:00
2012-05-08 14:08:44 +02:00
2012-03-28 18:11:12 +01:00
2013-02-27 16:59:05 -05:00
2013-06-23 11:52:58 +02:00
2013-02-28 08:50:11 +02:00
2013-06-20 22:25:34 -07:00
2013-01-24 16:22:10 +01:00
2012-03-28 18:11:12 +01:00
2012-11-14 15:28:11 -08:00