From: Joachim Fenkes Date: Tue, 11 Sep 2007 13:34:35 +0000 (+0200) Subject: IB/ehca: Serialize MR alloc and MR free hvCalls X-Git-Tag: v2.6.24-rc1~1453^2~61 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b5de96858e516311f2d3ca45073c2afd2eb5d94;p=pandora-kernel.git IB/ehca: Serialize MR alloc and MR free hvCalls Some firmware levels exhibit a race condition between H_ALLOC_RESOURCE(MR) and H_FREE_RESOURCE(MR). Work around this problem by locking these hvCalls against each other. Signed-off-by: Joachim Fenkes Signed-off-by: Roland Dreier --- Reading git-diff-tree failed