lkml.org 
[lkml]   [2003]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: netpoll/netconsole minor tweaks
From
Date
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]
\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.114 / U:1.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site