blob: a77aa622d7622cfd17d69568b3ca3f59b9250d13 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* delay.h: Linux delay routines on sparc64.
2 *
David S. Miller8b99cfb2007-07-14 02:23:37 -07003 * Copyright (C) 1996, 2004, 2007 David S. Miller (davem@davemloft.net).
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 */
5
David S. Miller8b99cfb2007-07-14 02:23:37 -07006#ifndef _SPARC64_DELAY_H
7#define _SPARC64_DELAY_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
9#ifndef __ASSEMBLY__
10
Linus Torvalds1da177e2005-04-16 15:20:36 -070011extern void __delay(unsigned long loops);
David S. Miller8b99cfb2007-07-14 02:23:37 -070012extern void udelay(unsigned long usecs);
13#define mdelay(n) udelay((n) * 1000)
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
15#endif /* !__ASSEMBLY__ */
16
David S. Miller8b99cfb2007-07-14 02:23:37 -070017#endif /* _SPARC64_DELAY_H */