]> err.no Git - linux-2.6/blobdiff - arch/x86/kernel/doublefault_32.c
x86: use bitmap library for pin_programmed
[linux-2.6] / arch / x86 / kernel / doublefault_32.c
index cc19a3ea403a7780f56b067e07c4cd7077baa23e..a47798b59f07e82205cc6f24d2e4ccc5f0cb6db7 100644 (file)
@@ -17,7 +17,7 @@ static unsigned long doublefault_stack[DOUBLEFAULT_STACKSIZE];
 
 static void doublefault_fn(void)
 {
-       struct Xgt_desc_struct gdt_desc = {0, 0};
+       struct desc_ptr gdt_desc = {0, 0};
        unsigned long gdt, tss;
 
        store_gdt(&gdt_desc);
@@ -33,7 +33,7 @@ static void doublefault_fn(void)
                printk(KERN_EMERG "double fault, tss at %08lx\n", tss);
 
                if (ptr_ok(tss)) {
-                       struct i386_hw_tss *t = (struct i386_hw_tss *)tss;
+                       struct x86_hw_tss *t = (struct x86_hw_tss *)tss;
 
                        printk(KERN_EMERG "eip = %08lx, esp = %08lx\n",
                               t->ip, t->sp);