]> err.no Git - linux-2.6/commit
x86: add memory clobber to save/loadsegment
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 25 Jun 2008 04:18:58 +0000 (00:18 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:10:23 +0000 (13:10 +0200)
commitd338c73c39a6ed0d07fe3bb07c7f12fff0dd237d
tree0b285466af10f7e6e3d2c2fea87309b7a0e9b984
parentbea41808efdd8815435376209f23f406f8bf435f
x86: add memory clobber to save/loadsegment

Add "memory" clobbers to savesegment and loadsegment, since they can
affect memory accesses and we never want the compiler to reorder them
with respect to memory references.

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>
include/asm-x86/system.h