Thread (3 messages) 3 messages, 2 authors, 2011-07-02

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

From: Mike Frysinger <hidden>
Date: 2011-07-01 23:15:40
Also in: lkml

On Fri, Jul 1, 2011 at 18:05, Arnd Bergmann wrote:
quoted hunk ↗ jump to hunk
--- 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help