diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-02-03 12:56:22 +0100 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-02-15 21:39:17 +0000 |
commit | 30df4a912fd040b9a923160ae05caf3fb6599d44 (patch) | |
tree | e337460c5d61282ab5826900bea74fe703c36c05 | |
parent | feda9d5de9ef640f047617312b6491713381a59a (diff) | |
download | openbios-30df4a912fd040b9a923160ae05caf3fb6599d44.zip openbios-30df4a912fd040b9a923160ae05caf3fb6599d44.tar.gz openbios-30df4a912fd040b9a923160ae05caf3fb6599d44.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci.c b/drivers/pci.c index b05ca3b..a2774d2 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; |