From 8c63fb8e9fb4e47c7eac06b922c85d4e63ad8724 Mon Sep 17 00:00:00 2001 From: Park Bumgyu Date: Wed, 21 Mar 2018 15:25:47 +0900 Subject: [PATCH] sched: ems: build skeleton for EMS Change-Id: I0e79d33aa1e5f64a9621773916d0546c1b0c8d20 Signed-off-by: Park Bumgyu --- kernel/sched/Makefile | 3 +-- kernel/sched/ems/Makefile | 2 ++ kernel/sched/{ => ems}/ehmp.c | 4 ++-- kernel/sched/{ => ems}/freqvar_tune.c | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 kernel/sched/ems/Makefile rename kernel/sched/{ => ems}/ehmp.c (99%) rename kernel/sched/{ => ems}/freqvar_tune.c (99%) diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile index 7c7516a21020..f8b8b5152868 100644 --- a/kernel/sched/Makefile +++ b/kernel/sched/Makefile @@ -20,7 +20,6 @@ obj-y += core.o loadavg.o clock.o cputime.o obj-y += idle_task.o fair.o rt.o deadline.o obj-y += wait.o wait_bit.o swait.o completion.o idle.o obj-$(CONFIG_SMP) += cpupri.o cpudeadline.o topology.o stop_task.o -obj-$(CONFIG_SCHED_EHMP) += ehmp.o obj-$(CONFIG_GENERIC_ARCH_TOPOLOGY) += energy.o obj-$(CONFIG_SCHED_WALT) += walt.o obj-$(CONFIG_SCHED_AUTOGROUP) += autogroup.o @@ -31,4 +30,4 @@ obj-$(CONFIG_CGROUP_CPUACCT) += cpuacct.o obj-$(CONFIG_CPU_FREQ) += cpufreq.o obj-$(CONFIG_CPU_FREQ_GOV_SCHEDUTIL) += cpufreq_schedutil.o obj-$(CONFIG_MEMBARRIER) += membarrier.o -obj-$(CONFIG_FREQVAR_TUNE) += freqvar_tune.o +obj-$(CONFIG_SCHED_EHMP) += ems/ diff --git a/kernel/sched/ems/Makefile b/kernel/sched/ems/Makefile new file mode 100644 index 000000000000..f2b1f7be7905 --- /dev/null +++ b/kernel/sched/ems/Makefile @@ -0,0 +1,2 @@ +obj-$(CONFIG_SCHED_EHMP) += ehmp.o +obj-$(CONFIG_FREQVAR_TUNE) += freqvar_tune.o diff --git a/kernel/sched/ehmp.c b/kernel/sched/ems/ehmp.c similarity index 99% rename from kernel/sched/ehmp.c rename to kernel/sched/ems/ehmp.c index baa223815b69..01f64b0628a6 100644 --- a/kernel/sched/ehmp.c +++ b/kernel/sched/ems/ehmp.c @@ -14,8 +14,8 @@ #define CREATE_TRACE_POINTS #include -#include "sched.h" -#include "tune.h" +#include "../sched.h" +#include "../tune.h" /********************************************************************** * extern functions * diff --git a/kernel/sched/freqvar_tune.c b/kernel/sched/ems/freqvar_tune.c similarity index 99% rename from kernel/sched/freqvar_tune.c rename to kernel/sched/ems/freqvar_tune.c index d869549b7a67..fb11fbf76d2f 100644 --- a/kernel/sched/freqvar_tune.c +++ b/kernel/sched/ems/freqvar_tune.c @@ -9,7 +9,7 @@ #include #include -#include "sched.h" +#include "../sched.h" /********************************************************************** * common APIs * -- 2.20.1