]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86, 64-bit: swapgs pvop with a user-stack can never be called
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 25 Jun 2008 04:19:30 +0000 (00:19 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:15:56 +0000 (13:15 +0200)
commita00394f81f419beb6fb9f7023bd4d15913dc625d
tree0faef5a52c4244173a3669bc646ef12bb79d6bc6
parent6680415481c7bd38967cf7488787f509f17ba307
x86, 64-bit: swapgs pvop with a user-stack can never be called

It's never safe to call a swapgs pvop when the user stack is current -
it must be inline replaced.  Rather than making a call, the
SWAPGS_UNSAFE_STACK pvop always just puts "swapgs" as a placeholder,
which must either be replaced inline or trap'n'emulated (somehow).

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