[PATCH 2/8] clocksource/drivers/pistachio: Prevent ftrace recursion

2015-10-28 Thread Daniel Lezcano
From: Jisheng Zhang Currently pistachio can be used as a scheduler clock. We properly marked pistachio_read_sched_clock() as notrace but we then call another function pistachio_clocksource_read_cycles() that _wasn't_ notrace. Having a traceable function in the sched_clock() path leads to a

[PATCH 2/8] clocksource/drivers/pistachio: Prevent ftrace recursion

2015-10-28 Thread Daniel Lezcano
From: Jisheng Zhang Currently pistachio can be used as a scheduler clock. We properly marked pistachio_read_sched_clock() as notrace but we then call another function pistachio_clocksource_read_cycles() that _wasn't_ notrace. Having a traceable function in the sched_clock()