aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorMarcin Nowakowski <[email protected]>2016-08-11 07:02:30 +0000
committerRalf Baechle <[email protected]>2016-09-13 12:13:26 +0000
commit2809328f6ef2139115665dda1b83ee9303c52431 (patch)
tree326cf2150be2ab513c4bb9321b96c9ee30b2de26 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentMIPS: ath79: Fix test for error return of clk_register_fixed_factor(). (diff)
downloadkernel-2809328f6ef2139115665dda1b83ee9303c52431.tar.gz
kernel-2809328f6ef2139115665dda1b83ee9303c52431.zip
MIPS: uprobes: fix incorrect uprobe brk handling
When a uprobe-replacement breakpoint instruction is handled, a notifier is called with DIE_UPROBE argument, but a corresponding exception notify handler for MIPS attempts to handle DIE_BREAK instead. As a result the breakpoint instruction isn't handled by the uprobe code and the probed application terminates with SIGTRAP. Fix this by changing arch_uprobe_exception_notify code to handle DIE_UPROBE as a pre-singlestep condition instead of DIE_BREAK. Signed-off-by: Marcin Nowakowski <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/13884/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions