Fix Sparc64 build

952760bb7b missed one change.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2010-03-21 20:37:50 +00:00
parent 952760bb7b
commit c9a43af9af

View File

@ -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;
}