Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1050 → Rev 1049

/shark/trunk/drivers/linuxc26/include/asm/delay.h
20,18 → 20,14
* Should not be needed in Shark.
*/
 
/*
#define udelay(n) (__builtin_constant_p(n) ? \
((n) > 20000 ? __bad_udelay() : __const_udelay((n) * 0x10c6ul)) : \
__udelay(n))
*/
//#define udelay(n) (__builtin_constant_p(n) ? \
// ((n) > 20000 ? __bad_udelay() : __const_udelay((n) * 0x10c6ul)) : \
// __udelay(n))
#define udelay(n) __udelay(n)
 
/*
#define ndelay(n) (__builtin_constant_p(n) ? \
((n) > 20000 ? __bad_ndelay() : __const_udelay((n) * 5ul)) : \
__ndelay(n))
*/
//#define ndelay(n) (__builtin_constant_p(n) ? \
// ((n) > 20000 ? __bad_ndelay() : __const_udelay((n) * 5ul)) : \
// __ndelay(n))
#define ndelay(n) __ndelay(n)
 
#endif /* defined(_I386_DELAY_H) */