Re: [PATCH] 2.4.0-prerelease: preemptive kernel.

David Woodhouse
2001-01-04T09:01:13Z

On Wed, 3 Jan 2001, ludovic fernandez wrote:

+#if 1
+ /*
+ * I got some problems with PCMCIA initialization and a
+ * preemptive kernel;
+ * init_pcmcia_ds() beeing called before the completion
+ * of pending scheduled tasks. I don't know if this is the
+ * right fix though.
+ */
+ flush_scheduled_tasks();
+#endif

Not really the right fix, but it'll do. The right fix is probably to
register the socket immediately in yenta_open() rather than doing it from
the queued task. We just weren't brave enough to make that change though,
when it was working anyway.

--
dwmw2