On Thu, Dec 16, 2010 at 1:48 PM, Russell King - ARM Linux
<[email protected]> wrote:
> ftrace requires sched_clock() to be notrace.  Ensure that all
> implementations are so marked.
>
> Signed-off-by: Russell King <[email protected]>

It does seem better to have all of them explicity annotated anyway, even
if it not required in most of the cases because they include
<linux/sched.h> and the annotation in the declaration takes effect.

Note that in order for this to be fully effective, all functions called
from sched_clock() need to be notrace too.  OMAP and u300 miss this.
The following patches fix them up; perhaps you can fold them into this
one.  If not, I will rebase them later after this series is merged:

http://www.spinics.net/lists/arm-kernel/msg104616.html
http://www.mail-archive.com/[email protected]/msg38911.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to