Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
watchdog
/
omap_wdt.h
diff --git
a/kernel/drivers/watchdog/omap_wdt.h
b/kernel/drivers/watchdog/omap_wdt.h
index
09b774c
..
42f31ec
100644
(file)
--- a/
kernel/drivers/watchdog/omap_wdt.h
+++ b/
kernel/drivers/watchdog/omap_wdt.h
@@
-50,5
+50,6
@@
#define PTV 0 /* prescale */
#define GET_WLDR_VAL(secs) (0xffffffff - ((secs) * (32768/(1<<PTV))) + 1)
#define PTV 0 /* prescale */
#define GET_WLDR_VAL(secs) (0xffffffff - ((secs) * (32768/(1<<PTV))) + 1)
+#define GET_WCCR_SECS(val) ((0xffffffff - (val) + 1) / (32768/(1<<PTV)))
#endif /* _OMAP_WATCHDOG_H */
#endif /* _OMAP_WATCHDOG_H */