From c02b6f3a83d073ee11e5d5bf265342f7a0c1352a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 25 Aug 2010 18:36:19 +0000 Subject: [PATCH] Added patch 116774. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1991 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/generate-kernel-with-srp-patches | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/generate-kernel-with-srp-patches b/scripts/generate-kernel-with-srp-patches index b19ca5bda..2f7a203a9 100755 --- a/scripts/generate-kernel-with-srp-patches +++ b/scripts/generate-kernel-with-srp-patches @@ -58,13 +58,20 @@ if [ "${kernel_version}" "<" "2.6.36" ]; then do echo "Applying patch $commit ..." url="http://git.kernel.org/?p=linux/kernel/git/roland/infiniband.git;a=patch;h=$commit" - wget -O- -q "$url" | awk 'BEGIN{h=1}h==0{print}/^$/{h=0}' | patch -p1 -s + wget -O- -q "$url" | \ + awk 'BEGIN{h=1}h==0{print}/^diff /{h=0}' | \ + patch -p1 -s done fi # IB/srp: Preparation for transmit ring response allocation # IB/srp: Implement SRP_CRED_REQ and SRP_AER_REQ # IB/srp: Reduce number of BUSY conditions -for p in 119771 119772 119773 +# IB/srp: use multiple CPU cores more effectively +for p in \ + 119771 \ + 119772 \ + 119773 \ + 116774 do echo "Applying patch $p ..." url="https://patchwork.kernel.org/patch/$p/raw/"