![]() | |||||||||||||
Messages in this thread |
Hi! > Change 3: > > Asserting at least 1 loop is spent: in really small ndelay() calls to > low-mhz timers, this might be better. > > return __delay(xloops ? xloops : 1); Should not you always round up? If user asks you to delay 1900 usec, delaying 1000 usec is a bug. If you do this, make-it-one-when-its-zero hack should be unneccessary. Pavel -- 934a471f20d6580d5aad759bf0d97ddc - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 14:03 [from the cache] ©2003-2008 | |||||||||||||