summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlav Haugan <ohaugan@codeaurora.org>2016-10-18 18:09:59 -0700
committerOlav Haugan <ohaugan@codeaurora.org>2016-10-18 18:10:52 -0700
commit76ac2a28035f2c5648fd5fb4babcd94ca1c73b2b (patch)
treefcf842c5f19e70327d7201bb75ba9cba8ae17003
parent651e7eb964b24c96efb6ce13159e18bfe6c541b0 (diff)
sched/core_ctl: Move header file to global location
Move the header file of core control to the standard linux include directory to allow other entities to include this file. Change-Id: I2ddb8b3b96063be3c6a6cb6bc333998e007f9de7 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
-rw-r--r--include/linux/sched/core_ctl.h (renamed from kernel/sched/core_ctl.h)0
-rw-r--r--kernel/sched/core.c2
-rw-r--r--kernel/sched/hmp.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/core_ctl.h b/include/linux/sched/core_ctl.h
index 98d7cb3e899b..98d7cb3e899b 100644
--- a/kernel/sched/core_ctl.h
+++ b/include/linux/sched/core_ctl.h
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 024fb1007c78..5276061a2003 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -75,6 +75,7 @@
#include <linux/context_tracking.h>
#include <linux/compiler.h>
#include <linux/irq.h>
+#include <linux/sched/core_ctl.h>
#include <asm/switch_to.h>
#include <asm/tlb.h>
@@ -85,7 +86,6 @@
#endif
#include "sched.h"
-#include "core_ctl.h"
#include "../workqueue_internal.h"
#include "../smpboot.h"
diff --git a/kernel/sched/hmp.c b/kernel/sched/hmp.c
index 3d5de8ba70a2..c89dda673525 100644
--- a/kernel/sched/hmp.c
+++ b/kernel/sched/hmp.c
@@ -18,9 +18,9 @@
#include <linux/list_sort.h>
#include <linux/syscore_ops.h>
#include <linux/of.h>
+#include <linux/sched/core_ctl.h>
#include "sched.h"
-#include "core_ctl.h"
#include <trace/events/sched.h>