Messages in this thread Patch in this message | | | Date | Sun, 08 Nov 1998 02:00:18 +0100 | From | Jens Axboe <> | Subject | Re: Compile failure on 2.1.127 |
| |
Michael Harnois wrote: > 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
Scheduling changes strikes again!
Apply this patch:
--- v2.1.127/drivers/char/ftape/zftape/zftape-buffers.c Sat Nov 7 22:07:21 1998 +++ linux/drivers/char/ftape/zftape/zftape-buffers.c Sun Nov 8 01:56:57 1998 @@ -122,9 +122,8 @@ void *new; 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; -- * Jens Axboe * * "The only thing that interferes with my * learning is my education." -- A. Einstein
- 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/
| |