[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Don't reload segment registers -- it's done later in generic code.
# HG changeset patch # User cl349@xxxxxxxxxxxxxxxxxxxx # Node ID ed274ca1fbb7b0b0a5c1b8733962e5831835928c # Parent f06f8c9a13d1f6ffcdf0d395eb6cf30f66fd51fe Don't reload segment registers -- it's done later in generic code. Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> diff -r f06f8c9a13d1 -r ed274ca1fbb7 linux-2.6-xen-sparse/arch/i386/kernel/cpu/common-xen.c --- a/linux-2.6-xen-sparse/arch/i386/kernel/cpu/common-xen.c Wed Feb 22 15:17:04 2006 +++ b/linux-2.6-xen-sparse/arch/i386/kernel/cpu/common-xen.c Wed Feb 22 15:50:28 2006 @@ -583,19 +583,6 @@ } if (HYPERVISOR_set_gdt(frames, gdt_descr->size / 8)) BUG(); - - /* Reload all the segment registers after changing gdt. */ - asm volatile("movl %0,%%ss\n\t" - "movl %1,%%ds\n\t" - "movl %1,%%es\n\t" - "pushl %2\n\t" /* Reload CS by intersegment return. */ - "pushl $1f\n\t" - "lret\n\t" - "1:\n\t" - : /* no outputs */ - : "r"(__KERNEL_DS), - "r"(__USER_DS), - "r"(__KERNEL_CS)); } /* _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |