lkml.org 
[lkml]   [1998]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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(&current->sigmask_lock);
- old_sigmask = current->blocked;
- siginitset(&current->blocked, _BLOCK_ALL);
- recalc_sigpending(current);
- spin_unlock_irq(&current->sigmask_lock);
+ sigfillset(&current->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>


\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.039 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site