Skip to contentSkip to conversation

Fix ppc compile problem with gcc 3.4

PATCH New Benjamin Herrenschmidt 1 participant 1 message Feb 17, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix ppc compile problem with gcc 3.4

Hi !

I've just been reported this one, a stupid redefinition extern/static in prep_pci. This patch fixes it.

Ben.

===== arch/ppc/platforms/prep_pci.c 1.22 vs edited =====

arch/ppc/platforms/prep_pci.c +0 -2
@@ -1171,8 +1171,6 @@
 prep_pcibios_fixup(void)
 {
         struct pci_dev *dev = NULL;
-        extern unsigned char *Motherboard_map;
-        extern unsigned char *Motherboard_routes;
 
 	prep_route_pci_interrupts();