> On Sun, Feb 17, 2002 at 02:07:35AM +0800, Rudmer van Dijk wrote:> > since 2.5.x (can't remember version correctly) the setup for RAM disk changed and I could not build it anymore into the kernel due to compilation errors.> > In the latest prepatch (2.5.5-pre1) this is still not fixed. I am using the following patch to fix this and it works from 2.5.x upto 2.5.5-pre1 without any problems.> > The real fix I think is to fix include/linux/blk.h> setup.c uses it inside CONFIG_BLK_DEV_RAM, but blk.h> only defines it with CONFIG_BLK_DEV_INITRD>It was a quick fix because I thought someone else was going to fix it...

How about the following patch?kernel builds and boots with patch (with CONFIG_BLK_DEV_INITRD disabled).

+#endif /* CONFIG_BLK_DEV_INITRD */+ #endif+ /* * end_request() and friends. Must be called with the request queue spinlock * acquired. All functions called within end_request() _must_be_ atomic.-- Get your free email from www.linuxmail.org