From: Corey Minyard Date: Thu, 19 Feb 2015 14:25:49 +0000 (-0600) Subject: ipmi: Fix a memory ordering issue X-Git-Tag: fixes-v4.0-rc1~47^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d86e29b4a612eb01c39daa48749ab7964e77e03;p=pandora-kernel.git ipmi: Fix a memory ordering issue From a locking point of view it is safe to check waiting_msg without a lock, but there is a memory ordering issue that causes it to possibly not be set right when viewed from another processor. We are already claiming a lock right after that, move the check to inside the lock to enforce the memory ordering. Signed-off-by: Corey Minyard --- Reading git-diff-tree failed