- Linus: drop support for old-style Makefiles entirely. Big.
[davej-history.git] / include / asm-i386 / delay.h
blob2166c4c6deeb64a4f348b60ce8bd30bb195aba58
1 #ifndef _I386_DELAY_H
2 #define _I386_DELAY_H
4 /*
5 * Copyright (C) 1993 Linus Torvalds
7 * Delay routines calling functions in arch/i386/lib/delay.c
8 */
10 extern void __udelay(unsigned long usecs);
11 extern void __const_udelay(unsigned long usecs);
12 extern void __delay(unsigned long loops);
14 #define udelay(n) (__builtin_constant_p(n) ? \
15 __const_udelay((n) * 0x10c6ul) : \
16 __udelay(n))
18 #endif /* defined(_I386_DELAY_H) */