diff options
| author | Claudiu Beznea <[email protected]> | 2022-03-04 13:35:57 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2022-03-07 17:27:28 +0000 |
| commit | ff10ee97cb203262e88d9c8bc87369cbd4004a0c (patch) | |
| tree | af71489046206cc90c454518755f6cbc31e2e35a /drivers/clocksource/timer-microchip-pit64b.c | |
| parent | clocksource/drivers/timer-microchip-pit64b: Remove mmio selection (diff) | |
| download | kernel-ff10ee97cb203262e88d9c8bc87369cbd4004a0c.tar.gz kernel-ff10ee97cb203262e88d9c8bc87369cbd4004a0c.zip | |
clocksource/drivers/timer-microchip-pit64b: Use notrace
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-microchip-pit64b.c')
| -rw-r--r-- | drivers/clocksource/timer-microchip-pit64b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-microchip-pit64b.c b/drivers/clocksource/timer-microchip-pit64b.c index cfa4ec7ef396..790d2c9b42a7 100644 --- a/drivers/clocksource/timer-microchip-pit64b.c +++ b/drivers/clocksource/timer-microchip-pit64b.c @@ -165,7 +165,7 @@ static u64 mchp_pit64b_clksrc_read(struct clocksource *cs) return mchp_pit64b_cnt_read(mchp_pit64b_cs_base); } -static u64 mchp_pit64b_sched_read_clk(void) +static u64 notrace mchp_pit64b_sched_read_clk(void) { return mchp_pit64b_cnt_read(mchp_pit64b_cs_base); } |
