lkml.org 
[lkml]   [2010]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: sched_clock - microblaze
Date
On Thursday 15 April 2010 21:29:27 Michal Simek wrote:
> > sched_clock() {
> > ftrace_stop();
> > printk(...);
> > ftrace_start();
> > ...
> > }
>
> But I am describing different problem. sched_clock is called before
> kernel initialized timers. Microblaze takes all information from DTS
> that's means that I am not able to read timer because I even don't know
> where it is. :-(

You could make sched_clock return zero before the clock is probed, it
is very unlikely to be needed before that anyway.

Arnd


\
 
 \ /
  Last update: 2010-04-15 21:55    [W:0.026 / U:1.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site