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