xref: /openbmc/linux/arch/sparc/include/asm/delay_64.h (revision 20e2fc42)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* delay.h: Linux delay routines on sparc64.
3  *
4  * Copyright (C) 1996, 2004, 2007 David S. Miller (davem@davemloft.net).
5  */
6 
7 #ifndef _SPARC64_DELAY_H
8 #define _SPARC64_DELAY_H
9 
10 #ifndef __ASSEMBLY__
11 
12 void __delay(unsigned long loops);
13 void udelay(unsigned long usecs);
14 #define mdelay(n)	udelay((n) * 1000)
15 
16 #endif /* !__ASSEMBLY__ */
17 
18 #endif /* _SPARC64_DELAY_H */
19