linux58-rc-tkg: Fix compilation with pds
This commit is contained in:
@@ -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;
|
||||
+
|
||||
|
Reference in New Issue
Block a user