aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/process_64.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-06-25 00:18:59 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 13:10:24 +0200
commitaf2b1c609ff52b6469d8e67696db98c93c348b0e (patch)
tree794e4ebf8a9ed524cfbd01bc9e7f80fd110d3c2c /arch/x86/kernel/process_64.c
parentd338c73c39a6ed0d07fe3bb07c7f12fff0dd237d (diff)
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 <jeremy.fitzhardinge@citrix.com> Cc: xen-devel <xen-devel@lists.xensource.com> Cc: Stephen Tweedie <sct@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/process_64.c')
0 files changed, 0 insertions, 0 deletions