patch-2.1.27 linux/arch/i386/kernel/time.c
Next file: linux/arch/i386/kernel/vm86.c
Previous file: linux/arch/i386/kernel/sys_i386.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Feb 21 14:58:32 1997
- Orig file:
v2.1.26/linux/arch/i386/kernel/time.c
- Orig date:
Fri Feb 7 05:54:54 1997
diff -u --recursive --new-file v2.1.26/linux/arch/i386/kernel/time.c linux/arch/i386/kernel/time.c
@@ -33,6 +33,10 @@
#include <linux/config.h>
extern int setup_x86_irq(int, struct irqaction *);
+extern volatile unsigned long lost_ticks;
+
+/* change this if you have some constant time drift */
+#define USECS_PER_JIFFY (1000020/HZ)
#ifndef CONFIG_APM /* cycle counter may be unreliable */
/* Cycle counter value at the previous timer interrupt.. */
@@ -40,11 +44,6 @@
unsigned long low;
unsigned long high;
} init_timer_cc, last_timer_cc;
-
-extern volatile unsigned long lost_ticks;
-
-/* change this if you have some constant time drift */
-#define USECS_PER_JIFFY (1000020/HZ)
static unsigned long do_fast_gettimeoffset(void)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov