On Wed, October 03, 2012 6:20 PM
Andrew Morton [off-list ref] wrote:
=20
On Wed, 3 Oct 2012 15:18:39 -0400
Alexandre Bounine [off-list ref] wrote:
=20
quoted
Fix blocking wait loop in the RapidIO discovery routine to avoid
warning dumps about stalled CPU on x86 platforms.
...
+ to_end =3D 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));
=20
I think a simple msleep(10) would suffice here?
=20
Agree, same thing but looks simpler. Will update.