Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| void | timer2_udelay (unsigned long usecs) |
Definition in file timer2.h.
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| void timer2_udelay | ( | unsigned long | usecs | ) |
Definition at line 82 of file timer2.c.
References load_timer2(), timer2_running(), and TIMER2_TICKS_PER_SEC.
Referenced by rdtsc_udelay(), and TIMER_INLINE().
00082 { 00083 load_timer2 ( ( usecs * TIMER2_TICKS_PER_SEC ) / ( 1000 * 1000 ) ); 00084 while (timer2_running()) { 00085 /* Do nothing */ 00086 } 00087 }
1.5.7.1