1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_PARISC_DELAY_H
3 #define _ASM_PARISC_DELAY_H
5 static __inline__
void __delay(unsigned long loops
) {
7 " .balignl 64,0x34000034\n"
10 : "=r" (loops
) : "0" (loops
));
13 extern void __udelay(unsigned long usecs
);
14 extern void __udelay_bad(unsigned long usecs
);
16 static inline void udelay(unsigned long usecs
)
18 if (__builtin_constant_p(usecs
) && (usecs
) > 20000)
23 #endif /* _ASM_PARISC_DELAY_H */