Re: Linux 2.6.23

Alexey Dobriyan
2007-10-10T08:37:32Z

On 10/10/07, René Rebe <rene@exactcode.de> wrote:
> 2.6.23 does not build with my usual .config on x86_64 and gcc-4.2.1:
>
> In file included from fs/drop_caches.c:8:
> include/linux/mm.h:1210: warning: 'struct super_block' declared inside
> parameter list

> --- linux-2.6.23/include/linux/mm.h.vanilla
> +++ linux-2.6.23/include/linux/mm.h

> +struct super_block;
> extern void drop_pagecache_sb(struct super_block *);
> void drop_pagecache(void);
> void drop_slab(void);
>
> You probably end up fixing it some other way, but as I do not know this
> file inside out I just wanted to drop a note.

You have some strange vanilla kernel. 2.6.23 doesn't have this prototype.