diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-16 11:18:04 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-16 11:33:59 +0200 |
commit | 3a92d0828de6ffc040c6006a01a8710dd8a28bf7 (patch) | |
tree | fc51e85462b3c30eacdcecbd182b09afa6381b58 /Kernel/Scheduler.h | |
parent | 4e27c58be70d9ddb26c00f62ca982cf398ae70ba (diff) | |
download | serenity-3a92d0828de6ffc040c6006a01a8710dd8a28bf7.zip |
Kernel: Remove the "kernel info page" used for fast gettimeofday()
We stopped using gettimeofday() in Core::EventLoop a while back,
in favor of clock_gettime() for monotonic time.
Maintaining an optimization for a syscall we're not using doesn't make
a lot of sense, so let's go back to the old-style sys$gettimeofday().
Diffstat (limited to 'Kernel/Scheduler.h')
-rw-r--r-- | Kernel/Scheduler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Scheduler.h b/Kernel/Scheduler.h index 4f28132ba3..ea374fa946 100644 --- a/Kernel/Scheduler.h +++ b/Kernel/Scheduler.h @@ -46,6 +46,7 @@ extern WaitQueue* g_finalizer_wait_queue; extern bool g_finalizer_has_work; extern u64 g_uptime; extern SchedulerData* g_scheduler_data; +extern timeval g_timeofday; class Scheduler { public: |