]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clocksource/drivers/timer-microchip-pit64b: Use notrace
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 4 Mar 2022 13:35:57 +0000 (15:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:37 +0000 (13:57 +0200)
commitb074dbcfb42011da7eb56963925bcbe5df17e63f
tree369fb0caf7b3f5c964d391cdb7338a9d3e9e05d4
parentf154834fc36aa70d65801e49e2b09fb303aae296
clocksource/drivers/timer-microchip-pit64b: Use notrace

[ Upstream commit ff10ee97cb203262e88d9c8bc87369cbd4004a0c ]

Use notrace for mchp_pit64b_sched_read_clk() to avoid recursive call of
prepare_ftrace_return() when issuing:
echo function_graph > /sys/kernel/debug/tracing/current_tracer

Fixes: 625022a5f160 ("clocksource/drivers/timer-microchip-pit64b: Add Microchip PIT64B support")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220304133601.2404086-3-claudiu.beznea@microchip.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clocksource/timer-microchip-pit64b.c