summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-02-03 12:56:22 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2021-02-15 21:39:17 +0000
commit30df4a912fd040b9a923160ae05caf3fb6599d44 (patch)
treee337460c5d61282ab5826900bea74fe703c36c05
parentfeda9d5de9ef640f047617312b6491713381a59a (diff)
downloadqemu-openbios-30df4a912fd040b9a923160ae05caf3fb6599d44.tar.gz
40p: use is_apple() macro
Simplify using the is_apple() macro. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
-rw-r--r--drivers/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci.c b/drivers/pci.c
index b05ca3b1..a2774d2e 100644
--- a/drivers/pci.c
+++ b/drivers/pci.c
@@ -1991,7 +1991,7 @@ static void ob_pci_host_bus_interrupt(ucell dnode, u32 *props, int *ncells, u32
{
*ncells += pci_encode_phys_addr(props + *ncells, 0, 0, addr, 0, 0);
- if (is_oldworld() || is_newworld()) {
+ if (is_apple()) {
/* Mac machines */
props[(*ncells)++] = intno;
props[(*ncells)++] = dnode;