]> Git Repo - qemu.git/commit
hw/acpi/cpu_hotplug: Include "hw/pci/pci.h"
authorPhilippe Mathieu-Daudé <[email protected]>
Fri, 28 Feb 2020 11:46:41 +0000 (12:46 +0100)
committerLaurent Vivier <[email protected]>
Mon, 9 Mar 2020 14:59:31 +0000 (15:59 +0100)
commit38e131d2e2fa6e9b17782d7ce96e7207fa276562
tree5fd32bb90269fbb517eb0cdc0f79554580aac0ce
parente07c4f44b0d5c80577cb00421a5370d2dbbcfa6b
hw/acpi/cpu_hotplug: Include "hw/pci/pci.h"

hw/acpi/cpu_hotplug.c calls pci_address_space_io(). Include
"hw/pci/pci.h" which declares it.

This fixes (when modifying unrelated headers):

  hw/acpi/cpu_hotplug.c:103:28: error: implicit declaration of function 'pci_address_space_io' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      MemoryRegion *parent = pci_address_space_io(PCI_DEVICE(gpe_cpu->device));
                             ^

Acked-by: John Snow <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <20200228114649[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
hw/acpi/cpu_hotplug.c
This page took 0.025812 seconds and 4 git commands to generate.