x86: use rdtscll in read_current_timer for i386.
authorGlauber Costa <[email protected]>
Tue, 24 Jun 2008 12:52:36 +0000 (09:52 -0300)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
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;