patch-2.2.4 linux/include/asm-sparc/timex.h

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

diff -u --recursive --new-file v2.2.3/linux/include/asm-sparc/timex.h linux/include/asm-sparc/timex.h
@@ -12,4 +12,9 @@
 	(1000000/CLOCK_TICK_FACTOR) / (CLOCK_TICK_RATE/CLOCK_TICK_FACTOR)) \
 		<< (SHIFT_SCALE-SHIFT_HZ)) / HZ)
 
+/* XXX Maybe do something better at some point... -DaveM */
+typedef unsigned long cycles_t;
+extern cycles_t cacheflush_time;
+#define get_cycles()	(0)
+
 #endif

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