Apply the 2.6.31 kmemcheck patch not only to current but also to future 2.6.31.* kernels since the change is small that the submitted patch will be integrated.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2009-10-14 14:21:19 +00:00
parent 2a359798cf
commit 23aeb6590f
+1 -1
View File
@@ -119,7 +119,7 @@ See also http://lkml.org/lkml/2009/4/5/120
#define likely_notrace(x) __builtin_expect(!!(x), 1)
EOF
fi
if [ "$1" = "2.6.31" -o "$1" = "2.6.31.1" -o "$1" = "2.6.31.2" -o "$1" = "2.6.31.3" -o "$1" = "2.6.31.4" ]
if [ "$1" = "2.6.31" -o "${1#2.6.31.}" != "$1" ]
then
cd "../linux-$1" || return $?
patch -f -s -p1 <<'EOF'