aboutsummaryrefslogtreecommitdiffstats
path: root/restrict_to_cpu0
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-01-09 21:38:52 +0000
committerPascal Terjan <pterjan@gmail.com>2016-01-09 21:38:52 +0000
commitb234b23494d34c20b963e44a69b69e91561413ea (patch)
treea94e27e8c5b6d9b4bc35b5a78bbe0054ddb258c3 /restrict_to_cpu0
parentd46d2da02e3b9d064f3ad78e128e99a7976c6ed1 (diff)
downloadspec-helper-b234b23494d34c20b963e44a69b69e91561413ea.tar
spec-helper-b234b23494d34c20b963e44a69b69e91561413ea.tar.gz
spec-helper-b234b23494d34c20b963e44a69b69e91561413ea.tar.bz2
spec-helper-b234b23494d34c20b963e44a69b69e91561413ea.tar.xz
spec-helper-b234b23494d34c20b963e44a69b69e91561413ea.zip
Add a new helper to disable SMP.
This is needed when running armv5 code on SMP armv7 build machines.
Diffstat (limited to 'restrict_to_cpu0')
-rwxr-xr-xrestrict_to_cpu02
1 files changed, 2 insertions, 0 deletions
diff --git a/restrict_to_cpu0 b/restrict_to_cpu0
new file mode 100755
index 0000000..febc67a
--- /dev/null
+++ b/restrict_to_cpu0
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/bin/taskset -c 0 /bin/sh "$1"