diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2015-10-20 10:02:38 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-10-27 01:33:58 +0100 |
commit | 36361abc8bc14e80f6b4db561665e5e15249c181 (patch) | |
tree | 60236a7ba6de57c3a5df7d52730d49139360f8f4 /drivers/clocksource/fsl_ftm_timer.c | |
parent | clocksource/drivers/prima2: Prevent ftrace recursion (diff) | |
download | linux-36361abc8bc14e80f6b4db561665e5e15249c181.tar.xz linux-36361abc8bc14e80f6b4db561665e5e15249c181.zip |
clocksource/drivers/vf_pit_timer: Prevent ftrace recursion
Having a traceable function in the sched_clock() path leads to a recursion
within ftrace and a kernel crash.
We should not trace the pit_read_sched_clock() function. Fix this by adding a
notrace attribute to this function.
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/fsl_ftm_timer.c')
0 files changed, 0 insertions, 0 deletions