projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'bjorn-notify' into release
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
clockchips.h
diff --git
a/include/linux/clockchips.h
b/include/linux/clockchips.h
index 3a1dbba4d3ae2da500e710387d130cd8ad5dd4c2..20a100fe2b4f3040554f3994706d8f7b238460af 100644
(file)
--- a/
include/linux/clockchips.h
+++ b/
include/linux/clockchips.h
@@
-143,3
+143,12
@@
extern void clockevents_notify(unsigned long reason, void *arg);
#endif
#endif
+
+#ifdef CONFIG_GENERIC_CLOCKEVENTS
+extern ktime_t clockevents_get_next_event(int cpu);
+#else
+static inline ktime_t clockevents_get_next_event(int cpu)
+{
+ return (ktime_t) { .tv64 = KTIME_MAX };
+}
+#endif