2005-04-17 02:20:36 +04:00
|
|
|
/* delay.h: Linux delay routines on sparc64.
|
|
|
|
*
|
2007-07-14 13:23:37 +04:00
|
|
|
* Copyright (C) 1996, 2004, 2007 David S. Miller (davem@davemloft.net).
|
2005-04-17 02:20:36 +04:00
|
|
|
*/
|
|
|
|
|
2007-07-14 13:23:37 +04:00
|
|
|
#ifndef _SPARC64_DELAY_H
|
|
|
|
#define _SPARC64_DELAY_H
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
|
|
|
|
extern void __delay(unsigned long loops);
|
2007-07-14 13:23:37 +04:00
|
|
|
extern void udelay(unsigned long usecs);
|
|
|
|
#define mdelay(n) udelay((n) * 1000)
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
#endif /* !__ASSEMBLY__ */
|
|
|
|
|
2007-07-14 13:23:37 +04:00
|
|
|
#endif /* _SPARC64_DELAY_H */
|