original_kernel/arch/x86
Jeremy Fitzhardinge 6aaf5d633b xen: use iret for return from 64b kernel to 32b usermode
If Xen wants to return to a 32b usermode with sysret it must use the
right form.  When using VCGF_in_syscall to trigger this, it looks at
the code segment and does a 32b sysret if it is FLAT_USER_CS32.
However, this is different from __USER32_CS, so it fails to return
properly if we use the normal Linux segment.

So avoid the whole mess by dropping VCGF_in_syscall and simply use
plain iret to return to usermode.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Jan Beulich <jbeulich@novell.com>
Cc: Stable Kernel <stable@kernel.org>
2009-12-03 11:14:54 -08:00
..
boot Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-09-26 10:13:35 -07:00
configs
crypto crypto: aesni-intel - Fix irq_fpu_usable usage 2009-10-20 16:20:47 +09:00
ia32 x86: Don't leak 64-bit kernel register values to 32-bit processes 2009-10-01 11:24:26 +02:00
include/asm x86/paravirt: Use normal calling sequences for irq enable/disable 2009-10-13 09:22:01 +02:00
kernel Revert "x86: linker script syntax nits" 2009-10-15 08:09:55 +02:00
kvm KVM: MMU: fix pointer cast 2009-10-16 12:30:26 -03:00
lguest
lib x86: Don't generate cmpxchg8b_emu if CONFIG_X86_CMPXCHG64=y 2009-10-01 08:42:24 +02:00
math-emu
mm Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-09-26 10:13:35 -07:00
oprofile
pci const: mark struct vm_struct_operations 2009-09-27 11:39:25 -07:00
power
vdso
video
xen xen: use iret for return from 64b kernel to 32b usermode 2009-12-03 11:14:54 -08:00
Kbuild
Kconfig x86, vmi: Mark VMI deprecated and schedule it for removal 2009-10-08 22:27:55 +02:00
Kconfig.cpu x86: Optimize cmpxchg64() at build-time some more 2009-10-01 08:01:08 +02:00
Kconfig.debug
Makefile
Makefile_32.cpu