Re: Linux 2.5.10-dj1

From: Dave Jones (davej@suse.de)
Date: Sat Apr 27 2002 - 13:46:42 EST


On Sat, Apr 27, 2002 at 08:34:47PM +0200, Adrian Bunk wrote:
> Hi Dave,
>
> there are changes in the 2.5.10-dj1 patch that aren't in the 2.5.9-dj1
> patch that include removals of defines for TIMEOUT_VALUE and
> DEVICE_REQUEST that seem to cause the following compile error:

oops, accidentally dropped that when merging Martins updates.

add a #define TIMEOUT_VALUE (6*HZ) to hd.c
Also you should change..

- blk_init_queue(BLK_DEFAULT_QUEUE(MAJOR_NR), DEVICE_REQUEST, &hd_lock);
+ blk_init_queue(BLK_DEFAULT_QUEUE(MAJOR_NR), do_hd_request, &hd_lock);

At line 830 or so.

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:14 EST