linux57-tkg: Fix compilation when MuQSS is selected. Likely a small oversight from Con.
This commit is contained in:
parent
a9d36ea252
commit
b33355cdf8
@ -135,7 +135,7 @@ sha256sums=('de8163bb62f822d84f7a3983574ec460060bf013a78ff79cd7c979ff1ec1d7e0'
|
||||
'7058e57fd68367b029adc77f2a82928f1433daaf02c8c279cb2d13556c8804d7'
|
||||
'c605f638d74c61861ebdc36ebd4cb8b6475eae2f6273e1ccb2bbb3e10a2ec3fe'
|
||||
'bc69d6e5ee8172b0242c8fa72d13cfe2b8d2b6601468836908a7dfe8b78a3bbb'
|
||||
'0a72687a647937500f31b25fd23c8a6f34642d3c2a0a26c9153a965faea3ea5c'
|
||||
'4288e5c110d6edd7b7bc59794959b96cbee5e4003f38bff7b1486e2262198010'
|
||||
'62496f9ca788996181ef145f96ad26291282fcc3fb95cdc04080dcf84365be33'
|
||||
'7fd8e776209dac98627453fda754bdf9aff4a09f27cb0b3766d7983612eb3c74'
|
||||
'bd0460d436e3ade46ea20b0087f8ccf62dce00f96de76f04b74620f81e63a2dc'
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user