Messages in this thread | | | Subject | Re: [PATCH] sched: sched_clock() clocksource handling. | From | Peter Zijlstra <> | Date | Tue, 02 Jun 2009 14:26:25 +0200 |
| |
On Tue, 2009-06-02 at 16:54 +0900, Paul Mundt wrote: > @@ -212,6 +213,7 @@ extern struct clocksource *clock; /* current clocksource */ > > #define CLOCK_SOURCE_WATCHDOG 0x10 > #define CLOCK_SOURCE_VALID_FOR_HRES 0x20 > +#define CLOCK_SOURCE_USE_FOR_SCHED_CLOCK 0x40
One more thing though, as John suggested, this bit might want a proper comment explaining when a clocksource should and should not set this bit.
| |