Skip to content

Commit a76febe

Browse files
glommerIngo Molnar
authored andcommitted
x86: use rdtscll in read_current_timer for i386.
This way we achieve the same code for both arches. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 0a4d8a4 commit a76febe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/x86/lib/delay_32.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void use_tsc_delay(void)
9898
int __devinit read_current_timer(unsigned long *timer_val)
9999
{
100100
if (delay_fn == delay_tsc) {
101-
rdtscl(*timer_val);
101+
rdtscll(*timer_val);
102102
return 0;
103103
}
104104
return -1;

0 commit comments

Comments
 (0)