Re: [PATCH 5/5] mm/... convert #include "linux/..." to #include

2007-08-20 Thread Christoph Lameter
On Mon, 20 Aug 2007, Joe Perches wrote: > Maybe. I think it's just a simple error. > > mm/slab.c has 2 other includes of > > #include > > cheers, Joe Ahh. ok. Then Acked-by: Christoph Lameter <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kerne

Re: [PATCH 5/5] mm/... convert #include "linux/..." to #include

2007-08-20 Thread Joe Perches
On Mon, 2007-08-20 at 11:06 -0700, Christoph Lameter wrote: > On Sun, 19 Aug 2007, Joe Perches wrote: > > diff --git a/mm/slab.c b/mm/slab.c > > -#include "linux/kmalloc_sizes.h" > > +#include > But I think this was done intentionally to point out that the file > includes is *not* a regular inclu

Re: [PATCH 5/5] mm/... convert #include "linux/..." to #include

2007-08-20 Thread Christoph Lameter
On Sun, 19 Aug 2007, Joe Perches wrote: > diff --git a/mm/slab.c b/mm/slab.c > index a684778..976aeff 100644 > --- a/mm/slab.c > +++ b/mm/slab.c > @@ -334,7 +334,7 @@ static __always_inline int index_of(const size_t size) > return i; \ > else \ > i++; > -#include

[PATCH 5/5] mm/... convert #include "linux/..." to #include

2007-08-19 Thread Joe Perches
(untested) There are several files that #include "linux/file" not #include #include "asm/file" not #include Here's a little script that converts them: egrep -i -r -l --include=*.[ch] \ "^[[:space:]]*\#[[:space:]]*include[[:space:]]*\"(linux|asm)/(.*)\"" * \ | xargs sed -i -e 's/^[[:space:]]*