From c7aa4d882ff6b1eb1e3c19bdfd772057817ff10c Mon Sep 17 00:00:00 2001
From: ian <ian>
Date: Sat, 8 Jul 2023 00:02:21 +0000
Subject: kernel/amd64: Abstract architecture specifics

git-svn-id: https://svn.vegaa.systems/svn/vega-Vega/trunk@9 a8a8aea2-181d-ee11-89e8-15fd0e089fc4
---
 sys/arch/amd64/machdep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sys/arch/amd64')

diff --git a/sys/arch/amd64/machdep.c b/sys/arch/amd64/machdep.c
index dd2cdc7..747d23a 100644
--- a/sys/arch/amd64/machdep.c
+++ b/sys/arch/amd64/machdep.c
@@ -63,6 +63,6 @@ processor_halt(void)
 __weak void
 processor_init(struct processor *processor)
 {
-    gdt_load(processor->gdtr);
+    gdt_load(processor->machdep.gdtr);
     interrupts_init(processor);
 }
-- 
cgit v1.2.3