linux58-rc-tkg: Fix compilation with pds

This commit is contained in:
Tk-Glitch
2020-07-20 18:21:10 +02:00
parent 0d6404c8eb
commit d82a43f62d
2 changed files with 6 additions and 2 deletions

View File

@@ -7679,7 +7679,7 @@ new file mode 100644
index 000000000000..6c3361f06087
--- /dev/null
+++ b/kernel/sched/pds_sched.h
@@ -0,0 +1,573 @@
@@ -0,0 +1,577 @@
+#ifndef PDS_SCHED_H
+#define PDS_SCHED_H
+
@@ -7853,6 +7853,10 @@ index 000000000000..6c3361f06087
+#endif
+};
+
+#define task_contributes_to_load(task) ((task->state & TASK_UNINTERRUPTIBLE) != 0 && \
+ (task->flags & PF_FROZEN) == 0 && \
+ (task->state & TASK_NOLOAD) == 0)
+
+extern unsigned long calc_load_update;
+extern atomic_long_t calc_load_tasks;
+