Messages in this thread | | | Date | Mon, 8 Aug 2005 16:24:24 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH] 5/8 Move descriptor table management into the sub-arch layer |
| |
Hi!
> i386 Transparent paravirtualization subarch patch #5 > > This change encapsulates descriptor and task register management. > > Diffs against: 2.6.13-rc4-mm1 > > Signed-off-by: Zachary Amsden <zach@vmware.com> > Index: linux-2.6.13/include/asm-i386/desc.h > =================================================================== > --- linux-2.6.13.orig/include/asm-i386/desc.h 2005-08-03 16:24:09.000000000 -0700 > +++ linux-2.6.13/include/asm-i386/desc.h 2005-08-03 16:31:40.000000000 -0700 > @@ -27,19 +27,6 @@ > > extern struct Xgt_desc_struct idt_descr, cpu_gdt_descr[NR_CPUS]; > > -#define load_TR_desc() __asm__ __volatile__("ltr %w0"::"q" (GDT_ENTRY_TSS*8)) > -#define load_LDT_desc() __asm__ __volatile__("lldt %w0"::"q" (GDT_ENTRY_LDT*8))
Is not asm volatile (no underscores) enough?
> -#define load_gdt(dtr) __asm__ __volatile("lgdt %0"::"m" (*dtr)) > -#define load_idt(dtr) __asm__ __volatile("lidt %0"::"m" (*dtr))
Eh, I think volatile should be either "volatile" or "__volatile__", but you not "__volatile".
-- if you have sharp zaurus hardware you don't need... you know my address - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |