Re: [RFC][PATCH] x86: remove vmalloc.h from asm/io.h

From: Ingo Molnar
Date: Fri May 29 2015 - 05:21:27 EST



* Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> Nothing in asm/io.h uses anything from vmalloc.h, so remove the include
> and fix up the build problems in an allmodconfig (64 bit and 32 bit)
> build.
>
> This may be the place where x86 builds get vmalloc.h implicitly included
> and that tends to hide places where vmalloc() et al are added to files
> but the include of vmalloc.h is forgotten.

Good idea.

Acked-by: Ingo Molnar <mingo@xxxxxxxxxx>

> Based in Linus' tree of today.
>
> There are probably more places that need vmalloc.h included, but this passes 64
> bit and 32 bit allmodconfig builds, so is a place to start.

Please also test x86 allnoconfig and defconfig 32/64, that tends to unearth the
remaining places. People doing randconfig testing will find the rest.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/