summaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/doublefault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/doublefault.c')
-rw-r--r--arch/i386/kernel/doublefault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/doublefault.c b/arch/i386/kernel/doublefault.c
index 789af3e9fb1f..5edb1d379add 100644
--- a/arch/i386/kernel/doublefault.c
+++ b/arch/i386/kernel/doublefault.c
@@ -20,7 +20,7 @@ static void doublefault_fn(void)
struct Xgt_desc_struct gdt_desc = {0, 0};
unsigned long gdt, tss;
- __asm__ __volatile__("sgdt %0": "=m" (gdt_desc): :"memory");
+ store_gdt(&gdt_desc);
gdt = gdt_desc.address;
printk("double fault, gdt at %08lx [%d bytes]\n", gdt, gdt_desc.size);