public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c239f2
)
timer: Fix broke preprocessor rule
author
Alan Cox
<alan@linux.intel.com>
Tue, 28 Aug 2018 16:02:39 +0000
(17:02 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 28 Aug 2018 16:02:39 +0000
(17:02 +0100)
Kernel/timer.c
patch
|
blob
|
history
diff --git
a/Kernel/timer.c
b/Kernel/timer.c
index
b1c5a08
..
b0ad2ec
100644
(file)
--- a/
Kernel/timer.c
+++ b/
Kernel/timer.c
@@
-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 */