1 #include <linux/module.h>
2 #include <linux/kernel.h>
3 #include <linux/delay.h>
6 void __delay(unsigned long time
)
8 /* Stolen from the i386 __loop_delay */
15 "2:\tdecl %0\n\tjns 2b"
20 void __udelay(unsigned long usecs
)
24 n
= (loops_per_jiffy
* HZ
* usecs
) / MILLION
;
29 EXPORT_SYMBOL(__udelay
);
31 void __const_udelay(unsigned long usecs
)
35 n
= (loops_per_jiffy
* HZ
* usecs
) / MILLION
;
40 EXPORT_SYMBOL(__const_udelay
);