sched: x86, track TSC-unstable events

track TSC-unstable events and propagate it to the scheduler code.
Also allow sched_clock() to be used when the TSC is unstable,
the rq_clock() wrapper creates a reliable clock out of it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Ingo Molnar 2007-07-09 18:51:59 +02:00
parent dd41f596cd
commit bb29ab2686
3 changed files with 17 additions and 1 deletions

View file

@ -1321,6 +1321,8 @@ extern void sched_exec(void);
#define sched_exec() {}
#endif
extern void sched_clock_unstable_event(void);
#ifdef CONFIG_HOTPLUG_CPU
extern void idle_task_exit(void);
#else