old driver

Daniel Drotos (drdani@mazsola.iit.uni-miskolc.hu)
Mon, 29 Mar 1999 09:03:05 +0200 (MET DST)


Hi,

I have to rewrite a driver which was originaly written for 1.2.x. It
uses the following structure:

if (current->signal & ~current->blocked)
return temp - buf ? : -EINTR;

current->state = TASK_INTERRUPTIBLE;
current->timeout = jiffies + read_sleep;
schedule();

How can it be converted to 2.2.x?

Daniel

-
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/