diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-11-19 00:58:00 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-11-19 00:58:00 +0100 |
commit | 2eec9a3688ab8a673a058312388cfff640acdd13 (patch) | |
tree | fee362298c73e0135cfc049d72c22a6c50a78caf /kern/sched.h | |
parent | d1f39c38df5aee6df6661bcae2c2ca9f79428a8f (diff) | |
download | gnumach-2eec9a3688ab8a673a058312388cfff640acdd13.tar.gz gnumach-2eec9a3688ab8a673a058312388cfff640acdd13.tar.bz2 gnumach-2eec9a3688ab8a673a058312388cfff640acdd13.zip |
Drop SIMPLE_CLOCK support
This wasn't building and is not useful with nowaday's hardware.
* configfrag.ac (SIMPLE_CLOCK): Do not define.
* kern/sched.h [SIMPLE_CLOCK] (sched_usec): Remove variable declaration.
* kern/sched_prim.c [SIMPLE_CLOCK] (sched_usec): Remove variable.
[SIMPLE_CLOCK] (sched_init): Do not initialize sched_usec variable.
[SIMPLE_CLOCK] (recompute_priorities): Do not tinker sched_usec
variable.
* kern/thread.c [SIMPLE_CLOCK] (thread_info): Do not ajust for clock
drift.
Diffstat (limited to 'kern/sched.h')
-rw-r--r-- | kern/sched.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kern/sched.h b/kern/sched.h index 8a4ec75b..588e0aa6 100644 --- a/kern/sched.h +++ b/kern/sched.h @@ -166,13 +166,4 @@ MACRO_BEGIN \ (thread)->processor_set->sched_load; \ MACRO_END -#if SIMPLE_CLOCK -/* - * sched_usec is an exponential average of number of microseconds - * in a second for clock drift compensation. - */ - -extern int sched_usec; -#endif /* SIMPLE_CLOCK */ - #endif /* _KERN_SCHED_H_ */ |