sched: ems: use LOAD_AVG_MAX declared in sched-pelt.h
authorPark Bumgyu <bumgyu.park@samsung.com>
Thu, 5 Jul 2018 23:16:28 +0000 (08:16 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:24:56 +0000 (20:24 +0300)
To follow the half-life time of task util, use the LOAD_AVG_MAX
declared in sched-pelt.h

Change-Id: I28fd88dd334d9c4999f97734d8d9c983af38100a
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
kernel/sched/ems/ems.h

index 7a1b20438af3bf6f72d9b478833b6b70496671d5..163adde764eae8ff18da7565a434b38dde472efa 100644 (file)
@@ -11,7 +11,8 @@
  * GNU General Public License for more details.
  */
 
-#define LOAD_AVG_MAX           47742
+#include "../sched-pelt.h"
+
 #define cpu_selected(cpu)      (cpu >= 0)
 #define tsk_cpus_allowed(tsk)  (&(tsk)->cpus_allowed)