ARM: IKS: Disable IKS by default when HMP is enabled
authorMark Brown <broonie@linaro.org>
Fri, 19 Jul 2013 11:36:10 +0000 (12:36 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 19 Jul 2013 11:36:10 +0000 (12:36 +0100)
Reported-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm/common/bL_switcher.c

index 1883c5b3e3f55e0b3c529b56c4dac18b1856b9d3..8fee70dfb30269e79ed52b900e2a56b74300767d 100644 (file)
@@ -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)