From 2eec9a3688ab8a673a058312388cfff640acdd13 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 19 Nov 2018 00:58:00 +0100 Subject: 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. --- configfrag.ac | 3 --- 1 file changed, 3 deletions(-) (limited to 'configfrag.ac') diff --git a/configfrag.ac b/configfrag.ac index 3d7033ec..73c23ffb 100644 --- a/configfrag.ac +++ b/configfrag.ac @@ -103,9 +103,6 @@ AC_DEFINE([MACH_VM_DEBUG], [1], [MACH_VM_DEBUG]) # Mach-dep power conservation. AC_DEFINE([POWER_SAVE], [1], [POWER_SAVE]) -# No hardware clock rollover. -AC_DEFINE([SIMPLE_CLOCK], [0], [SIMPLE_CLOCK]) - # Use statistical timing. AC_DEFINE([STAT_TIME], [1], [STAT_TIME]) -- cgit v1.2.3