summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/lgdt.s
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/lgdt.s')
-rw-r--r--arch/x86_64/lgdt.s3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/lgdt.s b/arch/x86_64/lgdt.s
index 7122ef9..55e37b5 100644
--- a/arch/x86_64/lgdt.s
+++ b/arch/x86_64/lgdt.s
@@ -20,7 +20,6 @@ gdt_load:
.global tss_flush
.type tss_flush @function
tss_flush:
- movw %di, %ax
- ltr %ax
+ ltr %di
retq
.size tss_flush, . - tss_flush