Re: [PATCH v1] clocksource: Sigma Designs Tango 27 MHz xtal

From: Daniel Lezcano
Date: Wed Oct 07 2015 - 07:35:34 EST


On 10/07/2015 01:14 PM, Marc Gonzalez wrote:
On 07/10/2015 11:47, Daniel Lezcano wrote:
On 10/07/2015 10:23 AM, Marc Gonzalez wrote:
Daniel Lezcano wrote:

static u64 *notrace* read_sched_clock(void)

What about read_clocksource? and read_xtal_counter?

See commit 89e6a13b88.

If I understand correctly, since read_sched_clock calls read_xtal_counter,
both functions should be marked notrace.

Yes. We have to prevent the recursion with the ftrace timestamp.


--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/