Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* delay.h: Linux delay routines on sparc64. |
| 2 | * |
David S. Miller | 8b99cfb | 2007-07-14 02:23:37 -0700 | [diff] [blame] | 3 | * Copyright (C) 1996, 2004, 2007 David S. Miller (davem@davemloft.net). |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | */ |
| 5 | |
David S. Miller | 8b99cfb | 2007-07-14 02:23:37 -0700 | [diff] [blame] | 6 | #ifndef _SPARC64_DELAY_H |
| 7 | #define _SPARC64_DELAY_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
| 9 | #ifndef __ASSEMBLY__ |
| 10 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | extern void __delay(unsigned long loops); |
David S. Miller | 8b99cfb | 2007-07-14 02:23:37 -0700 | [diff] [blame] | 12 | extern void udelay(unsigned long usecs); |
| 13 | #define mdelay(n) udelay((n) * 1000) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | |
| 15 | #endif /* !__ASSEMBLY__ */ |
| 16 | |
David S. Miller | 8b99cfb | 2007-07-14 02:23:37 -0700 | [diff] [blame] | 17 | #endif /* _SPARC64_DELAY_H */ |