On Saturday 02 July 2011 01:15:16 Mike Frysinger wrote: > > 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 ? Yes, that's probably another small change we should do. Right now, building without HAS_IOPORT is broken in little ways all over the place, so I expect there will be more of these once we look in all the places. Regarding asm-generic/io.h, we probably want to conditionally disable large parts of it. Thanks, Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html