[PATCH] Fix ppc compile problem with gcc 3.4

From: Benjamin Herrenschmidt
Date: Mon Feb 16 2004 - 19:46:55 EST


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 =====
--- 1.22/arch/ppc/platforms/prep_pci.c Tue Sep 16 06:59:05 2003
+++ edited/arch/ppc/platforms/prep_pci.c Tue Feb 17 11:41:19 2004
@@ -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();



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/