From b234b23494d34c20b963e44a69b69e91561413ea Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 9 Jan 2016 21:38:52 +0000 Subject: Add a new helper to disable SMP. This is needed when running armv5 code on SMP armv7 build machines. --- Makefile | 3 ++- NEWS | 1 + restrict_to_cpu0 | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 restrict_to_cpu0 diff --git a/Makefile b/Makefile index 8f293e0..f6382ce 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,8 @@ VERSION = 0.31.10 SCRIPT_FILES = clean_files clean_perl compress_files check_elf_files \ lib_symlinks fix_mo translate_menu \ - fix_pamd gprintify remove_info_dir relink_symlinks fix_eol + fix_pamd gprintify remove_info_dir relink_symlinks fix_eol \ + restrict_to_cpu0 BIN_FILES = macroszification MACROS_FILES = spec-helper.macros TEST_FILES = t/*.t diff --git a/NEWS b/NEWS index 3f89fdb..1899a18 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ * compress_files: drop support for LZMA + * restrict_to_cpu0: new helper to prevent SMP on some arches 2015-07-25 Shlomi Fish 0.31.10 * compress_files: More proper handling of $_. Convert as much as possible 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" -- cgit v1.2.1