On Wed, October 03, 2012 6:20 PM Andrew Morton <a...@linux-foundation.org> wrote: > > On Wed, 3 Oct 2012 15:18:39 -0400 > Alexandre Bounine <alexandre.boun...@idt.com> wrote: > > > Fix blocking wait loop in the RapidIO discovery routine to avoid > > warning dumps about stalled CPU on x86 platforms. > > > > ... > > > > + to_end = jiffies + CONFIG_RAPIDIO_DISC_TIMEOUT * HZ; > > + while (time_before(jiffies, to_end)) { > > + if (rio_enum_complete(mport)) > > + goto enum_done; > > + > schedule_timeout_uninterruptible(msecs_to_jiffies(10)); > > I think a simple msleep(10) would suffice here? > Agree, same thing but looks simpler. Will update. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
- [PATCH 0/5] rapidio: patches to support multiple master... Alexandre Bounine
- [PATCH 3/5] rapidio: run discovery as an asynchron... Alexandre Bounine
- Re: [PATCH 3/5] rapidio: run discovery as an a... Andrew Morton
- RE: [PATCH 3/5] rapidio: run discovery as ... Bounine, Alexandre
- [PATCH 1/5] rapidio: fix blocking wait for discove... Alexandre Bounine
- Re: [PATCH 1/5] rapidio: fix blocking wait for... Andrew Morton
- RE: [PATCH 1/5] rapidio: fix blocking wait... Bounine, Alexandre
- [PATCH 2/5] rapidio: use device lists handling on ... Alexandre Bounine
- [PATCH 5/5] rapidio: add destination ID allocation... Alexandre Bounine
- Re: [PATCH 5/5] rapidio: add destination ID al... Andrew Morton
- RE: [PATCH 5/5] rapidio: add destination I... Bounine, Alexandre
- [PATCH 4/5] rapidio/rionet: rework to support mult... Alexandre Bounine