lkml.org 
[lkml]   [2003]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] make <linux/blk.h> obsolete
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

[unhandled content-type:application/x-gunzip]
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.040 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site