Re: Compile failure on 2.1.127

Tom Eastep (tom.eastep@compaq.com)
Sun, 08 Nov 1998 01:36:25 GMT


On 11/7/98, 4:31:55 PM, Michael Harnois <mharnois@willinet.net> wrote
regarding Re: Compile failure on 2.1.127:

> And it did fix the first error. But I still went on to get this one:

> zftape-buffers.c: In function `zft_kmalloc':
> zftape-buffers.c:125: structure has no member named `timeout'
> make[4]: *** [zftape-buffers.o] Error 1

This should fix that error.

--- linux/drivers/char/ftape/zftape/zftape-buffers.c~ Tue Nov 25
14:45:28 1997
+++ linux/drivers/char/ftape/zftape/zftape-buffers.c Sat Nov 7
17:31:50 1998
@@ -123,8 +123,7 @@

while ((new = kmalloc(size, GFP_KERNEL)) == NULL) {
current->timeout = HZ/10;
- current->state = TASK_INTERRUPTIBLE;
- schedule();
+ schedule_timeout(HZ/10);
}
memset(new, 0, size);
used_memory += size;

-Tom

Tom Eastep
Compaq Computer Corporation
Enterprise Systems Group
Tandem Division
tom.eastep@compaq.com

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