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