summaryrefslogtreecommitdiff
path: root/patch-ker.sh
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2011-08-15 11:40:30 +1200
committerCharles Manning <cdhmanning@gmail.com>2011-08-15 11:40:30 +1200
commita7b5dcf904ba6f7890e4b77ce1f56388b855d0f6 (patch)
treeb66129eacb45406a94bf1823ec66269e21640919 /patch-ker.sh
parentffb9a41a909210075adf0c529becca54109b2d80 (diff)
Mods for Linux 3.0 and fix a typo
Roll in NCB's patch and some other changes for Linux 3.0. Also fix a dumb type retired_writes->retried_writes Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'patch-ker.sh')
-rwxr-xr-xpatch-ker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch-ker.sh b/patch-ker.sh
index 44152c8..ed54d53 100755
--- a/patch-ker.sh
+++ b/patch-ker.sh
@@ -92,7 +92,7 @@ PATCHLEVEL=`grep -s PATCHLEVEL <$LINUXDIR/Makefile | head -n 1 | sed s/'PATCHLEV
SUBLEVEL=`grep -s SUBLEVEL <$LINUXDIR/Makefile | head -n 1 | sed s/'SUBLEVEL = '//`
# Can we handle this version?
-if [ $VERSION -ne 2 -o $PATCHLEVEL -lt 6 ]
+if [ $VERSION$PATCHLEVEL -lt 26 ]
then
echo "Cannot patch kernel version $VERSION.$PATCHLEVEL.$SUBLEVEL, must be 2.6.x or higher"
exit 1;