aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorThomas Tai <[email protected]>2021-04-08 17:28:33 +0000
committerBorislav Petkov <[email protected]>2021-04-09 11:45:09 +0000
commit632a1c209b8773cb0119fe3aada9f1db14fa357c (patch)
treeb4581824c67a657e741df1fb5d69378db1249017 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parentRAS/CEC: Correct ce_add_elem()'s returned values (diff)
downloadkernel-632a1c209b8773cb0119fe3aada9f1db14fa357c.tar.gz
kernel-632a1c209b8773cb0119fe3aada9f1db14fa357c.zip
x86/traps: Correct exc_general_protection() and math_error() return paths
Commit 334872a09198 ("x86/traps: Attempt to fixup exceptions in vDSO before signaling") added return statements which bypass calling cond_local_irq_disable(). According to ca4c6a9858c2 ("x86/traps: Make interrupt enable/disable symmetric in C code"), cond_local_irq_disable() is needed because the asm return code no longer disables interrupts. Follow the existing code as an example to use "goto exit" instead of "return" statement. [ bp: Massage commit message. ] Fixes: 334872a09198 ("x86/traps: Attempt to fixup exceptions in vDSO before signaling") Signed-off-by: Thomas Tai <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Alexandre Chartre <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions