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
/
include
/
linux
/
sched
/
deadline.h
diff --git
a/kernel/include/linux/sched/deadline.h
b/kernel/include/linux/sched/deadline.h
index
9d303b8
..
9089a2a
100644
(file)
--- a/
kernel/include/linux/sched/deadline.h
+++ b/
kernel/include/linux/sched/deadline.h
@@
-21,4
+21,9
@@
static inline int dl_task(struct task_struct *p)
return dl_prio(p->prio);
}
+static inline bool dl_time_before(u64 a, u64 b)
+{
+ return (s64)(a - b) < 0;
+}
+
#endif /* _SCHED_DEADLINE_H */