diff options
-rw-r--r-- | i386/i386/locore.S | 4 | ||||
-rw-r--r-- | x86_64/locore.S | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/i386/i386/locore.S b/i386/i386/locore.S index 870db785..05b3b13d 100644 --- a/i386/i386/locore.S +++ b/i386/i386/locore.S @@ -244,7 +244,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),%edx),%eax /* get old time stamp */ movl %ecx,CX(EXT(current_tstamp),%edx) /* set new time stamp */ @@ -262,7 +262,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),%edx) /* set initial time stamp */ movl S_ARG0,%ecx /* get timer */ 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 */ |