aboutsummaryrefslogtreecommitdiff
path: root/x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64')
-rw-r--r--x86_64/locore.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/x86_64/locore.S b/x86_64/locore.S
index d640ef73..b282da4f 100644
--- a/x86_64/locore.S
+++ b/x86_64/locore.S
@@ -351,7 +351,7 @@ timer_normalize:
* Switch to a new timer.
*/
ENTRY(timer_switch)
- CPU_NUMBER_NO_GS(%edx) /* get this CPU */
+ CPU_NUMBER(%edx) /* get this CPU */
movl VA_ETC,%ecx /* get timer */
movl CX(EXT(current_tstamp),%rdx),%eax /* get old time stamp */
movl %ecx,CX(EXT(current_tstamp),%rdx) /* set new time stamp */
@@ -369,7 +369,7 @@ ENTRY(timer_switch)
* Initialize the first timer for a CPU.
*/
ENTRY(start_timer)
- CPU_NUMBER_NO_GS(%edx) /* get this CPU */
+ CPU_NUMBER(%edx) /* get this CPU */
movl VA_ETC,%ecx /* get timer */
movl %ecx,CX(EXT(current_tstamp),%rdx) /* set initial time stamp */
movl S_ARG0,%ecx /* get timer */