Index: arch/i386/kernel/time.c =================================================================== RCS file: /root/21REP/linux21/arch/i386/kernel/time.c,v retrieving revision 1.1.1.11.2.1 retrieving revision 1.1.1.11.2.2 diff -u -r1.1.1.11.2.1 -r1.1.1.11.2.2 --- arch/i386/kernel/time.c 2001/04/13 13:10:30 1.1.1.11.2.1 +++ arch/i386/kernel/time.c 2001/05/07 19:29:33 1.1.1.11.2.2 @@ -57,6 +57,8 @@ * 2001-01-09 Ulrich Windl * Improved accuracy of ``nanodelay_at_last_interrupt'' and * ``do_poor_nanotime()''. Fixed bug with clobbered ``jiffies_p''. + * 2001-05-07 Ulrich Windl + * Moved declaration of ``rtc_lock'' to proper place. */ #include @@ -95,6 +97,8 @@ #define NANOSECOND 1000000000 #endif +spinlock_t rtc_lock = SPIN_LOCK_UNLOCKED; + #ifdef CONFIG_X86_TSC static int use_tsc = 0; @@ -117,8 +121,6 @@ * Initialized in time_init. */ static unsigned long exact_nanotime_quotient = 0; - -spinlock_t rtc_lock = SPIN_LOCK_UNLOCKED; /* microseconds since last timer interrupt (using the CPU cycle-counter) */ static inline unsigned long do_exact_microtime(void)