From: Tom Tucker Date: Tue, 3 Oct 2006 14:46:41 +0000 (-0500) Subject: RDMA/amso1100: Add spinlocks to serialize ib_post_send/ib_post_recv X-Git-Tag: v2.6.19-rc2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e52e6080ca10e0a8ce2a35c86965945cdfa8ed7e;p=pandora-kernel.git RDMA/amso1100: Add spinlocks to serialize ib_post_send/ib_post_recv The AMSO driver was not thread-safe in the post WR code and had code that would sleep if the WR post FIFO was full. Since these functions can be called on interrupt level I changed the sleep to a udelay. Signed-off-by: Tom Tucker Signed-off-by: Roland Dreier --- Reading git-diff-tree failed