Messages in this thread | | | Subject | Re: netpoll/netconsole minor tweaks | From | Arjan van de Ven <> | Date | Fri, 19 Sep 2003 09:40:07 +0200 |
| |
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.. [unhandled content-type:application/pgp-signature] | |