summaryrefslogtreecommitdiff
path: root/trapasm.S
diff options
context:
space:
mode:
Diffstat (limited to 'trapasm.S')
-rw-r--r--trapasm.S3
1 files changed, 0 insertions, 3 deletions
diff --git a/trapasm.S b/trapasm.S
index 59fca57..983163d 100644
--- a/trapasm.S
+++ b/trapasm.S
@@ -13,10 +13,7 @@ alltraps:
pushal
# Set up data and per-cpu segments.
- # Can find out KDATA from %ss.
- # Assume that KCPU is KDATA+1.
movw $(SEG_KDATA<<3), %ax
- movw %ss, %ax
movw %ax, %ds
movw %ax, %es
movw $(SEG_KCPU<<3), %ax