> I want to wait for a short time in a driver after I got an interrupt
> that data arrived.
>
> I do not like the
>
> while( (jiffies-time_start) < 1 );
you probably want to use schedule_timeout(deltajiffies). You must make
sure that you can reschedule at that point.
-- mingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/