aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2015-10-20 08:02:36 +0000
committerDaniel Lezcano <[email protected]>2015-10-27 00:33:18 +0000
commitf8af0e9c644caf64d0f42dce816c18346c744a9f (patch)
treeacc265ff78963bf83a18e14782af352d613d893f /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentclocksource/drivers/arm_global_timer: Prevent ftrace recursion (diff)
downloadkernel-f8af0e9c644caf64d0f42dce816c18346c744a9f.tar.gz
kernel-f8af0e9c644caf64d0f42dce816c18346c744a9f.zip
clocksource/drivers/pistachio: Prevent ftrace recursion
Currently pistachio can be used as a scheduler clock. We properly marked pistachio_read_sched_clock() as notrace but we then call another function pistachio_clocksource_read_cycles() that _wasn't_ notrace. Having a traceable function in the sched_clock() path leads to a recursion within ftrace and a kernel crash. Fix this by adding notrace attribute to the pistachio_clocksource_read_cycles() function. Signed-off-by: Jisheng Zhang <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions