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 12:40:02 +0000 (14:40 +0200)
commitb33c753cff6ca5e3302cf97d70c6b92fe17ebad1
tree4bd8ce6e7b612bfbc4f2e05fab972a722bc93467
parentdb9d00461bdf9a0567a899f2980cf47f4217476d
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