--- arch/i386/kernel/smp.c~ Thu Mar 11 12:27:24 1999 +++ arch/i386/kernel/smp.c Tue Mar 16 23:02:30 1999 @@ -85,6 +85,9 @@ * there's about nothing of note with C stepping upwards. */ +#define rdtsc_ll(x) rdtsc((((unsigned long*)&(x))[0]), \ + (((unsigned long*)&(x))[1])) + /* Kernel spinlock */ spinlock_t kernel_flag = SPIN_LOCK_UNLOCKED; @@ -1940,7 +1943,7 @@ /* * We wrapped around just now. Let's start: */ - rdtsc(t1); + rdtsc_ll(t1); tt1=apic_read(APIC_TMCCT); #define LOOPS (HZ/10) @@ -1951,7 +1954,7 @@ wait_8254_wraparound (); tt2=apic_read(APIC_TMCCT); - rdtsc(t2); + rdtsc_ll(t2); /* * The APIC bus clock counter is 32 bits only, it