Skip to contentSkip to conversation

ACPI problem on PowerPC

DISCUSSION Marcel Holtmann 2 participants 2 messages Feb 2, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 30 lines · Marcel Holtmann

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

Quoted 2 lines

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

Yeah, bad merge, I'm reverting that change, it is wrong...

thanks,

greg k-h