Re: Build regressions/improvements in v3.0-rc5

From: Mike Frysinger
Date: Fri Jul 01 2011 - 19:15:43 EST


On Fri, Jul 1, 2011 at 18:05, Arnd Bergmann wrote:
> --- a/kernel/resource.c
> +++ b/kernel/resource.c
> @@ -21,7 +21,7 @@
> Â#include <linux/pfn.h>
> Â#include <asm/io.h>
>
> -
> +#ifdef IO_SPACE_LIMIT
> Âstruct resource ioport_resource = {
>    Â.name  = "PCI IO",
> Â Â Â Â.start Â= 0,
> @@ -29,6 +29,7 @@ struct resource ioport_resource = {
> Â Â Â Â.flags Â= IORESOURCE_IO,
> Â};
> ÂEXPORT_SYMBOL(ioport_resource);
> +#endif

hmm, asm-generic/io.h unconditionally sets this to 0xffff. should
that depend on CONFIG_HAS_IOPORT ?
-mike
--
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/