aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2016-09-22 07:56:21 +0000
committerThomas Gleixner <[email protected]>2016-09-22 14:49:19 +0000
commit3aa601492babdf3acdec89e5aa9c44e1a357a4d8 (patch)
treedfa01762981d88df47f2459fba13f5713e527f81 /net/lapb/lapb_out.c
parentclocksource/mips-gic-timer: Stop checking cpu_has_counter (diff)
downloadkernel-3aa601492babdf3acdec89e5aa9c44e1a357a4d8.tar.gz
kernel-3aa601492babdf3acdec89e5aa9c44e1a357a4d8.zip
clocksource/drivers/ti-32k: Prevent ftrace recursion
Currently ti-32k can be used as a scheduler clock. We properly marked omap_32k_read_sched_clock() as notrace but we then call another function ti_32k_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 ti_32k_read_cycles() function. Signed-off-by: Jisheng Zhang <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Steven Rostedt <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions