From: Bharat Bhushan Date: Thu, 13 Oct 2011 09:47:08 +0000 (+0530) Subject: PPC: Fix race in mtmsr paravirt implementation X-Git-Tag: v3.4-rc1~59^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9208427f72e6cb52c71767af3bf8c14c43c27ac;p=pandora-kernel.git PPC: Fix race in mtmsr paravirt implementation The current implementation of mtmsr and mtmsrd are racy in that it does: * check (int_pending == 0) ---> host sets int_pending = 1 <--- * write shared page * done while instead we should check for int_pending after the shared page is written. Signed-off-by: Bharat Bhushan Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- Reading git-diff-tree failed