Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 1 | /* delay.h: Linux delay routines on sparc64. |
| 2 | * |
| 3 | * Copyright (C) 1996, 2004, 2007 David S. Miller (davem@davemloft.net). |
| 4 | */ |
| 5 | |
| 6 | #ifndef _SPARC64_DELAY_H |
| 7 | #define _SPARC64_DELAY_H |
| 8 | |
| 9 | #ifndef __ASSEMBLY__ |
| 10 | |
Sam Ravnborg | f05a686 | 2014-05-16 23:25:50 +0200 | [diff] [blame] | 11 | void __delay(unsigned long loops); |
| 12 | void udelay(unsigned long usecs); |
Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 13 | #define mdelay(n) udelay((n) * 1000) |
| 14 | |
| 15 | #endif /* !__ASSEMBLY__ */ |
| 16 | |
| 17 | #endif /* _SPARC64_DELAY_H */ |