|
|
1.1 root 1: #ifndef _I386_DELAY_H
2: #define _I386_DELAY_H
3:
4: /*
5: * Copyright (C) 1993 Linus Torvalds
6: *
1.1.1.2 ! root 7: * Delay routines calling functions in arch/i386/lib/delay.c
1.1 root 8: */
1.1.1.2 ! root 9:
! 10: extern void __udelay(unsigned long usecs);
! 11: extern void __const_udelay(unsigned long usecs);
! 12: extern void __delay(unsigned long loops);
! 13:
! 14: #define udelay(n) (__builtin_constant_p(n) ? \
! 15: __const_udelay((n) * 0x10c6ul) : \
! 16: __udelay(n))
1.1 root 17:
18: #endif /* defined(_I386_DELAY_H) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.