]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: use rdtscll in read_current_timer for i386.
authorGlauber Costa <gcosta@redhat.com>
Tue, 24 Jun 2008 12:52:36 +0000 (09:52 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 06:52:02 +0000 (08:52 +0200)
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>
arch/x86/lib/delay_32.c

index 54013f87d9564ab02262623ef6eb7325c3fbc8d6..bf6de05445ba4cc03c3e724e144ca1ffb450b1f8 100644 (file)
@@ -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;