mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
spapr: Eliminate SPAPR_PCI_2_7_MMIO_WIN_SIZE macro
The macro is only used in one place, where the purpose of the value is obvious. Eliminate the macro so we don't need to rely on stringify(). Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20190107193020.21744-2-ehabkost@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
e3213eb5ec
commit
b3bcb3cedf
2 changed files with 1 additions and 2 deletions
|
@ -4285,7 +4285,7 @@ static void spapr_machine_2_7_class_options(MachineClass *mc)
|
|||
{
|
||||
.driver = TYPE_SPAPR_PCI_HOST_BRIDGE,
|
||||
.property = "mem_win_size",
|
||||
.value = stringify(SPAPR_PCI_2_7_MMIO_WIN_SIZE),
|
||||
.value = "0xf80000000",
|
||||
},
|
||||
{
|
||||
.driver = TYPE_SPAPR_PCI_HOST_BRIDGE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue