Re: [PATCH 2.6.28-rc2] i386: fix forbid_dac linkage error whenCONFIG_PCI=n

From: Ingo Molnar
Date: Mon Oct 27 2008 - 05:42:28 EST



* Mikael Pettersson <mikpe@xxxxxxxx> wrote:

> Fix 2.6.28-rc2 build failure on i386 with CONFIG_PCI=n:

> +#ifdef CONFIG_PCI
> if (!strncmp(p, "allowdac", 8))
> forbid_dac = 0;
> if (!strncmp(p, "nodac", 5))
> @@ -210,6 +211,7 @@ static __init int iommu_setup(char *p)
> forbid_dac = -1;
> return 1;
> }
> +#endif /* CONFIG_PCI */

there's a better fix for this queued up in the PCI tree, see:

http://marc.info/?l=linux-kernel&m=122480590627590&w=2

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/