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