Module Name: src
Committed By: joerg
Date: Fri May 20 13:32:35 UTC 2011
Modified Files:
src/sys/arch/amd64/amd64: locore.S
Log Message:
Be more explicit that the "w" part of %r11 is meant.
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/amd64/amd64/locore.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/amd64/locore.S
diff -u src/sys/arch/amd64/amd64/locore.S:1.64 src/sys/arch/amd64/amd64/locore.S:1.65
--- src/sys/arch/amd64/amd64/locore.S:1.64 Mon Dec 20 00:25:24 2010
+++ src/sys/arch/amd64/amd64/locore.S Fri May 20 13:32:35 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.64 2010/12/20 00:25:24 matt Exp $ */
+/* $NetBSD: locore.S,v 1.65 2011/05/20 13:32:35 joerg Exp $ */
/*
* Copyright-o-rama!
@@ -1132,8 +1132,8 @@
swapgs
#endif
INTR_RESTORE_GPRS
- movw $(LSEL(LUDATA_SEL, SEL_UPL)),%r11
- movw %r11,%ds
+ movw $(LSEL(LUDATA_SEL, SEL_UPL)), %r11w
+ movw %r11w,%ds
addq $TF_REGSIZE+16,%rsp /* + T_xxx and error code */
#ifndef XEN
popq %rcx /* return rip */