From: Jeremy Fitzhardinge Date: Wed, 25 Jun 2008 04:18:59 +0000 (-0400) Subject: x86: add memory barriers to wrmsr X-Git-Tag: v2.6.27-rc1~1106^2~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af2b1c609ff52b6469d8e67696db98c93c348b0e;p=pandora-kernel.git x86: add memory barriers to wrmsr wrmsr is a special instruction which can have arbitrary system-wide effects. We don't want the compiler to reorder it with respect to memory operations, so make it a memory barrier. Signed-off-by: Jeremy Fitzhardinge Cc: xen-devel Cc: Stephen Tweedie Cc: Eduardo Habkost Cc: Mark McLoughlin Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed