Re: [PATCH] make <linux/blk.h> obsolete

From: Adrian Bunk (bunk@fs.tum.de)
Date: Fri May 02 2003 - 15:50:31 EST


On Thu, May 01, 2003 at 08:48:18PM +0200, Christoph Hellwig wrote:
> On Thu, May 01, 2003 at 08:47:01PM +0200, Adrian Bunk wrote:
> > > Later. First thing is to kill the content, next the users.
> > > Adding the warning now would make a normal compile very verbose..
> >
> > Shall I prepare a patch removing all #include <linux/blk.h>'s?
>
> Please do so. That means I'll have less work to do :)

A patch against 2.5.68-bk11 plus your patch is attached.

I removed all references to blk.h and blk.h does now #error. If people
want their drivers to run unmodified under 2.4 it might be necessary to
do a
  #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,69)
  #include <linux/blk.h>
  #endif

I've tested the compilation with a .config that tries to compile as much
drivers as possible.

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed


- 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 : Wed May 07 2003 - 22:00:17 EST