Index: linux-2.6.git/arch/um/sys-i386/delay.c =================================================================== --- linux-2.6.git.orig/arch/um/sys-i386/delay.c +++ linux-2.6.git/arch/um/sys-i386/delay.c @@ -27,14 +27,3 @@ void __udelay(unsigned long usecs) } EXPORT_SYMBOL(__udelay); - -void __const_udelay(unsigned long usecs) -{ - int i, n; - - n = (loops_per_jiffy * HZ * usecs) / MILLION; - for(i=0;i 20000) ? \ + __bad_udelay() : __udelay(n)) + +/* It appears that ndelay is not used at all for UML. */ +#define ndelay(n) __bad_ndelay() + #endif