timer: Fix broke preprocessor rule
authorAlan Cox <alan@linux.intel.com>
Tue, 28 Aug 2018 16:02:39 +0000 (17:02 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 28 Aug 2018 16:02:39 +0000 (17:02 +0100)
Kernel/timer.c

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