Re: [GIT *] intel-iommu updates for 2.6.30 (second batch)

From: Ingo Molnar
Date: Tue Apr 07 2009 - 01:43:47 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> I suspect these bits are the ones that broke the upstream build:
>
> drivers/pci/dmar.c:47: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âdmar_tbl_sizeâ
> drivers/pci/dmar.c:62: warning: âstruct acpi_dmar_device_scopeâ declared inside parameter list
> drivers/pci/dmar.c:62: warning: its scope is only this definition or declaration, which is probably not what you want
>
> config attached.

hm, it breaks on all !ACPI configs AFAICS. The whole new code
section you added to dmar.c depends on ACPI functionality.

Restricting DMAR to "depends on ACPI" in the Kconfig would probably
work but is somewhat lame: this built fine with !ACPI before and if
the hw ever gets discovered purely via the PCI space (it does not
currently) we are hardwired to ACPI only. (adding more Kconfig
dependencies also restricts testing, etc.)

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/