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