Add an entry in Switches.sh to export and set the hotplug_allow_cpu0
variable to zero. This will resolve Android issues where invalid
comparisons cannot be made in the cpuhotplug scripts. Android runs
the Switches.sh script before it runs any test modules.

Signed-off-by: Lisa Nguyen <lisa.ngu...@linaro.org>
---
 Switches.sh |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/Switches.sh b/Switches.sh
index 1ea1cd9..ed67481 100644
--- a/Switches.sh
+++ b/Switches.sh
@@ -6,3 +6,6 @@ export suspend_pmsuspend=1
 export suspend_mem=1
 export suspend_ac=0
 export suspend_power=0
+
+# Disable hotplugging cpu0 by default
+hotplug_allow_cpu0=0
-- 
1.7.9.5


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to