Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a76febe9 authored by Glauber Costa's avatar Glauber Costa Committed by Ingo Molnar
Browse files

x86: use rdtscll in read_current_timer for i386.



This way we achieve the same code for both arches.

Signed-off-by: default avatarGlauber Costa <gcosta@redhat.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 0a4d8a47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ void use_tsc_delay(void)
int __devinit read_current_timer(unsigned long *timer_val)
{
	if (delay_fn == delay_tsc) {
		rdtscl(*timer_val);
		rdtscll(*timer_val);
		return 0;
	}
	return -1;