linux57-tkg: Fix compilation when MuQSS is selected. Likely a small oversight from Con.
This commit is contained in:
@@ -3470,7 +3470,7 @@ new file mode 100644
|
||||
index 000000000000..18a9b4a23e44
|
||||
--- /dev/null
|
||||
+++ b/kernel/sched/MuQSS.c
|
||||
@@ -0,0 +1,7614 @@
|
||||
@@ -0,0 +1,7624 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0
|
||||
+/*
|
||||
+ * kernel/sched/MuQSS.c, was kernel/sched.c
|
||||
@@ -7012,6 +7012,16 @@ index 000000000000..18a9b4a23e44
|
||||
+static inline void sched_tick_stop(int cpu) { }
|
||||
+#endif
|
||||
+
|
||||
+DEFINE_PER_CPU(unsigned long, thermal_pressure);
|
||||
+
|
||||
+void arch_set_thermal_pressure(struct cpumask *cpus,
|
||||
+ unsigned long th_pressure)
|
||||
+{
|
||||
+ int cpu;
|
||||
+
|
||||
+ for_each_cpu(cpu, cpus)
|
||||
+ WRITE_ONCE(per_cpu(thermal_pressure, cpu), th_pressure);
|
||||
+}
|
||||
+/*
|
||||
+ * This function gets called by the timer code, with HZ frequency.
|
||||
+ * We call it with interrupts disabled.
|
||||
|
Reference in New Issue
Block a user