diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2014-06-10 09:34:03 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2014-06-10 09:34:03 +0200 |
commit | 8d25ff24f47729317c2bf8babf99ea2499f25058 (patch) | |
tree | b6e5f07a0ff532fbf10c895497b8822ea24a8e97 | |
parent | 03a22d5ad7deb6021b2ec1d546a960d8a9878255 (diff) |
Fix taskset bad parameter in cpuhotplug_04.sh
The -c option is to specify the cpu id list, without this option, the cpu
parameter is parsed as a cpumask.
We pass the -c with a cpumask which are mutually exclusive:
https://bugs.launchpad.net/bugs/1328066
Fix this by simply removing the '-c' argument.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rwxr-xr-x | cpuhotplug/cpuhotplug_04.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpuhotplug/cpuhotplug_04.sh b/cpuhotplug/cpuhotplug_04.sh index 8c5ab52..394a512 100755 --- a/cpuhotplug/cpuhotplug_04.sh +++ b/cpuhotplug/cpuhotplug_04.sh @@ -40,7 +40,7 @@ check_task_migrate() { return 0 fi - taskset -c 0x$cpumask $CPUBURN $cpu & + taskset 0x$cpumask $CPUBURN $cpu & pid=$! sleep 1 # let taskset to do setaffinity before checking |