From: Matthew Wilcox Date: Sun, 18 Jun 2006 03:37:30 +0000 (-0700) Subject: IB/srp: Change target_mutex to a spinlock X-Git-Tag: v2.6.18-rc1~1110^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3589fd49067bab9fe0c60430860e6befbd5ba37;p=pandora-kernel.git IB/srp: Change target_mutex to a spinlock The SRP driver never sleeps while holding target_mutex, and it's just used to protect some simple list operations, so hold times will be short. So just convert it to a spinlock, which is smaller and faster. Signed-off-by: Matthew Wilcox Signed-off-by: Roland Dreier --- Reading git-diff-tree failed