> it looks like the loop can be simplified to
> 
> while (1) {
>       mb();
>       active = tq_pcmcia;
>       if (!active)
>               interruptible_sleep_on(&event_thread_wq);
>       if (signal_pending(current)
>               break;
>       run_task_queue(&tq_pcmcia);
> }

Not if you want it to work

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to