![]() | |||||||||||||
Messages in this thread |
On Fri, Nov 30 2001, Martin A. Brooks wrote: > > > Please try this diff. > > That seems to fix that error, but I now get a (possibly related) error > elsewhere. > > > gcc -D__KERNEL__ -I/home/martin/kernel-a-day-club/linux/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer > -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 > -march=i686 -c -o xd.o xd.c > xd.c: In function `xd_geninit': > xd.c:250: `max_sectors' undeclared (first use in this function) > xd.c:250: (Each undeclared identifier is reported only once > xd.c:250: for each function it appears in.) > make[3]: *** [xd.o] Error 1 max_sectors has been moved into the queue. So when you did this before max_sectors[dev indexing] = max_sectors_in_request you now do q = blk_get_queue(dev); blk_queue_max_sectors(max_sectors_in_request); -- Jens Axboe - 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/ | ||||||||||||
| Last update: 2005-03-22 13:13 [W:0.213 / U:0.080 seconds] ©2003-2008 Jasper Spaans | |||||||||||||