rt-tests: cyclicdeadline: Fix cgroup setup
Deadline tasks cannot be pinned to specific CPUs by using affinities. Cgroups have to be used instead. Cylicdeadline has code to do so. However, that code is never executed, because the all_cpus variable is reassigned after argument parsing. Remove it. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de> Signed-off-by: John Kacur <jkacur@redhat.com>
This commit is contained in:
parent
57d6c38a41
commit
5a17ea9879
|
@ -1165,7 +1165,6 @@ int main (int argc, char **argv)
|
|||
exit(-1);
|
||||
}
|
||||
|
||||
all_cpus = 1;
|
||||
if (!all_cpus) {
|
||||
int *pids;
|
||||
|
||||
|
|
Loading…
Reference in New Issue