diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-04-21 06:47:59 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-04-23 16:05:06 +1000 |
commit | 28d170abad3d6dfbe7309c0097d7de8a51c6b779 (patch) | |
tree | ab18538e19ad14fca380a18631ab7417b3fdad4d /drivers/macintosh | |
parent | fcb41a2030abe0eb716ef0798035ef9562097f42 (diff) | |
download | linux-28d170abad3d6dfbe7309c0097d7de8a51c6b779.tar.gz linux-28d170abad3d6dfbe7309c0097d7de8a51c6b779.tar.bz2 linux-28d170abad3d6dfbe7309c0097d7de8a51c6b779.zip |
ptrace/powerpc: Don't flush_ptrace_hw_breakpoint() on fork()
arch_dup_task_struct() does flush_ptrace_hw_breakpoint(src), this
destroys the parent's breakpoints for no reason. We should clear
child->thread.ptrace_bps[] copied by dup_task_struct() instead.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions