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.nguyen@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