From 706eee64fdb2730a2d505601b2dbb7779aa1a8f6 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 20 May 2009 16:48:14 +0000 Subject: [PATCH] Only apply patch d9ad8bc0ca823705413f75b50c442a88cc518b35 to kernels 2.6.29 up to and including 2.6.29.3 since this patch is included in 2.6.29.4 and higher and also in 2.6.30 and higher. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@868 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/run-regression-tests | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index b0d57c24c..7e438c162 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -96,7 +96,8 @@ function extract_kernel_tree { fi cd .. mv "linux-${kver}" "../linux-$1" || return $? - if [ "${kver}" = "2.6.29" ]; then + if [ "$1" = "2.6.29" -o "$1" = "2.6.29.1" -o "$1" = "2.6.29.2" -o "$1" = "2.6.29.3" ] + then cd "../linux-$1" || return $? patch -f -s -p1 <<'EOF' Make sure that branch profiling does not trigger sparse warnings.