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
This commit is contained in:
Bart Van Assche
2009-05-20 16:48:14 +00:00
parent a9db802731
commit 706eee64fd

View File

@@ -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.