Messages in this thread Patch in this message | | | Date | Sat, 24 Jan 1998 19:44:53 +0100 (CET) | From | "Krzysztof G. Baranowski" <> | Subject | Re: 2.1.81 ftape fails to compile |
| |
On Sat, 24 Jan 1998, dan singhal wrote: >I got it to compile like this, but I'm not sure what siginitset does, so i >can't promise that it works. I'm still compiling ... The fix follows...
--- linux-2.1.81/drivers/char/ftape/lowlevel/fdc-io.c-old Sat Jan 24 19:34:57 1998 +++ linux/drivers/char/ftape/lowlevel/fdc-io.c Sat Jan 24 19:39:52 1998 @@ -401,12 +401,7 @@ /* timeout time will be up to USPT microseconds too long ! */ current->timeout = jiffies + (1000 * time + FT_USPT - 1) / FT_USPT; current->state = TASK_INTERRUPTIBLE; - - spin_lock_irq(¤t->sigmask_lock); - old_sigmask = current->blocked; - siginitset(¤t->blocked, _BLOCK_ALL); - recalc_sigpending(current); - spin_unlock_irq(¤t->sigmask_lock); + sigfillset(¤t->blocked); add_wait_queue(&ftape_wait_intr, &wait); while (!ft_interrupt_seen && current->state != TASK_RUNNING) { Kris -- Krzysztof G. Baranowski - President of the Harmless Manyacs' Club "Smith & Wesson - The original point and click interface..." http://www.knm.org.pl/ <prezes@manjak.knm.org.pl>
| |