2010/8/10 Benjamin Herrenschmidt <benh at kernel.crashing.org>: > +#ifdef CONFIG_X86 > + primary = dev->pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; > +#endif It won't compile for CONFIG_X86, no "dev". -- Rafał