timer: last bits needed for a platform without a timer interrupt
authorAlan Cox <alan@linux.intel.com>
Sat, 25 Aug 2018 14:16:04 +0000 (15:16 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 25 Aug 2018 14:16:04 +0000 (15:16 +0100)
Kernel/timer.c

index 687844c..b1c5a08 100644 (file)
@@ -58,7 +58,7 @@ void wrtime(time_t *tloc)
        irqrestore(irq);
 }
 
-#ifndef CONFIG_RTC
+#if !defined(CONFIG_RTC) && !defined(CONFIG_NO_CLOCK)
 static uint8_t tod_deci;
 /* Update software emulated clock. Called ten times
    a second */