diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/gdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/gdt.c b/src/arch/x86/gdt.c index fe14155dd6..982b8ae9d2 100644 --- a/src/arch/x86/gdt.c +++ b/src/arch/x86/gdt.c @@ -45,9 +45,9 @@ static void move_gdt(int is_recovery) printk(BIOS_ERR, "Error: Could not relocate GDT.\n"); return; } - printk(BIOS_DEBUG, "Moving GDT to %p...", newgdt); memcpy((void*)newgdt, &gdt, num_gdt_bytes); } + printk(BIOS_DEBUG, "Moving GDT to %p...", newgdt); gdtarg.base = (uintptr_t)newgdt; gdtarg.limit = num_gdt_bytes - 1; |