patch-2.2.0-pre5 linux/include/asm-m68k/timex.h

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

diff -u --recursive --new-file v2.2.0-pre4/linux/include/asm-m68k/timex.h linux/include/asm-m68k/timex.h
@@ -12,4 +12,11 @@
 	(1000000/CLOCK_TICK_FACTOR) / (CLOCK_TICK_RATE/CLOCK_TICK_FACTOR)) \
 		<< (SHIFT_SCALE-SHIFT_HZ)) / HZ)
 
+typedef unsigned long cycles_t;
+
+static inline cycles_t get_cycles(void)
+{
+	return 0;
+}
+
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov