Re: netpoll/netconsole minor tweaks

From: Arjan van de Ven
Date: Fri Sep 19 2003 - 02:42:07 EST


On Fri, 2003-09-19 at 01:10, Jesper Juhl wrote:
> 00; wait++)
> if (inb(cmd_ioaddr) == 0) return;
> - for (; wait <= 20000; wait++)
> + for (; wait <= 20000; wait++) {
> if (inb(cmd_ioaddr) == 0) return;
> else udelay(1);
> + cpu_relax();
> + }

udelay() should have cpu_relax() inside it already basically..

Attachment: signature.asc
Description: This is a digitally signed message part