diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-03-21 20:37:50 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-03-21 20:37:50 +0000 |
commit | c9a43af9afc29538d77699e99a887560c654eee2 (patch) | |
tree | 5ec30813d569bdb91c8b7dcbbd335bee70821a5d /hw/apb_pci.c | |
parent | 952760bb7bce7fbfe0afcf04fee268745f297b87 (diff) |
Fix Sparc64 build
952760bb7bce7fbfe0afcf04fee268745f297b87 missed one change.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/apb_pci.c')
-rw-r--r-- | hw/apb_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/apb_pci.c b/hw/apb_pci.c index 324e74eec4..095f3b7990 100644 --- a/hw/apb_pci.c +++ b/hw/apb_pci.c @@ -409,7 +409,7 @@ static int pci_pbm_init_device(SysBusDevice *dev) assert(pci_config >= 0); sysbus_init_mmio(dev, 0x1000000ULL, pci_config); /* mem_data */ - pci_mem_data = pci_host_data_register_mmio(&s->host_state); + pci_mem_data = pci_host_data_register_mmio(&s->host_state, 1); sysbus_init_mmio(dev, 0x10000000ULL, pci_mem_data); return 0; } |