[OpenBIOS] [PATCH 1/4] pci.c: remove unneeded CONFIG_PPC define

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Thu Nov 13 13:19:51 CET 2014


This is already covered by the surrounding define.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
 openbios-devel/drivers/pci.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/openbios-devel/drivers/pci.c b/openbios-devel/drivers/pci.c
index eca322d..333cea8 100644
--- a/openbios-devel/drivers/pci.c
+++ b/openbios-devel/drivers/pci.c
@@ -436,11 +436,9 @@ static void pci_host_set_interrupt_map(const pci_config_t *config)
 	u32 props[7 * 8];
 	int i;
 
-#if defined(CONFIG_PPC)
 	/* Oldworld macs do interrupt maps differently */
 	if(!is_newworld())
 		return;
-#endif
 
 	for (i = 0; i < (7*8); i+=7) {
 		props[i+PCI_INT_MAP_PCI0] = 0;
-- 
1.7.10.4




More information about the OpenBIOS mailing list