patch-2.2.5 linux/include/asm-i386/timex.h

Next file: linux/include/asm-m68k/termios.h
Previous file: linux/include/asm-i386/termios.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.4/linux/include/asm-i386/timex.h linux/include/asm-i386/timex.h
@@ -39,7 +39,7 @@
 #else
 	unsigned long eax, edx;
 
-	__asm__("rdtsc":"=a" (eax), "=d" (edx));
+	__asm__ __volatile__("rdtsc":"=a" (eax), "=d" (edx));
 	return eax;
 #endif
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)