ACPI problem on PowerPC

From: Marcel Holtmann
Date: Sat Feb 02 2008 - 08:24:57 EST


Hi Greg,

the following happens with the latest ACPI and PCI merges on my Quad G5:

CC drivers/pci/pcie/aspm.o
In file included from include/acpi/platform/acenv.h:140,
from include/acpi/acpi.h:54,
from include/acpi/acpi_bus.h:31,
from drivers/pci/pcie/aspm.c:20:
include/acpi/platform/aclinux.h:59:22: error: asm/acpi.h: No such file or directory
In file included from include/acpi/platform/aclinux.h:120,
from include/acpi/platform/acenv.h:140,
from include/acpi/acpi.h:54,
from include/acpi/acpi_bus.h:31,
from drivers/pci/pcie/aspm.c:20:
include/acpi/actypes.h:130: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âUINT64â
include/acpi/actypes.h:131: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âINT64â
include/acpi/actypes.h:753: error: expected â)â before â*â token
include/acpi/actypes.h:756: error: expected â)â before â*â token
In file included from include/acpi/acpi.h:61,
from include/acpi/acpi_bus.h:31,
from drivers/pci/pcie/aspm.c:20:
include/acpi/acpiosxf.h:178: error: expected declaration specifiers or â...â before âacpi_osd_handlerâ
include/acpi/acpiosxf.h:182: error: expected declaration specifiers or â...â before âacpi_osd_handlerâ
include/acpi/acpiosxf.h:191: error: expected declaration specifiers or â...â before âacpi_osd_exec_callbackâ
make[3]: *** [drivers/pci/pcie/aspm.o] Error 1
make[2]: *** [drivers/pci/pcie] Error 2
make[1]: *** [drivers/pci] Error 2
make: *** [drivers] Error 2

The Quad G5 has PCI Express, but I am not sure about the ASPM support.
Obviously I enabled CONFIG_PCIEASPM.

Regards

Marcel


--
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/