aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-19 12:36:10 +0100
committerMark Brown <broonie@linaro.org>2013-07-19 12:36:10 +0100
commit702f80ea2f3c335b94589ec18f249542e438ffb0 (patch)
treedb69006508da53569112ac7cc6a561b114be1585
parent0a37d59e3c8c2299f8931df0cb1c0f525047fab5 (diff)
ARM: IKS: Disable IKS by default when HMP is enabled
Reported-by: Jon Medhurst <tixy@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--arch/arm/common/bL_switcher.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/common/bL_switcher.c b/arch/arm/common/bL_switcher.c
index 1883c5b3e3f..8fee70dfb30 100644
--- a/arch/arm/common/bL_switcher.c
+++ b/arch/arm/common/bL_switcher.c
@@ -828,7 +828,11 @@ static int bL_switcher_hotplug_callback(struct notifier_block *nfb,
static struct notifier_block bL_switcher_hotplug_notifier =
{ &bL_switcher_hotplug_callback, NULL, 0 };
+#ifdef CONFIG_SCHED_HMP
+static bool no_bL_switcher = true;
+#else
static bool no_bL_switcher;
+#endif
core_param(no_bL_switcher, no_bL_switcher, bool, 0644);
static int __init bL_switcher_init(void)