[Compile Regression in 2.4.25-pre8][PATCH 33/42]

From: Kronos
Date: Mon Feb 02 2004 - 15:09:02 EST



pci-pc.c:180:1: warning: "PCI_CONF1_ADDRESS" redefined
pci-pc.c:58:1: warning: this is the location of the previous definition

PCI_CONF1_ADDRESS is defined on line 58 #if CONFIG_MULTIQUAD. It's
redefined on line 180 (outside #if CONFIG_MULTIQUAD). I added an #undef
right before the end of the CONFIG_MULTIQUAD block.

diff -Nru -X dontdiff linux-2.4-vanilla/arch/i386/kernel/pci-pc.c linux-2.4/arch/i386/kernel/pci-pc.c
--- linux-2.4-vanilla/arch/i386/kernel/pci-pc.c Tue Nov 11 17:51:38 2003
+++ linux-2.4/arch/i386/kernel/pci-pc.c Sat Jan 31 18:51:22 2004
@@ -175,6 +175,7 @@
pci_conf1_write_mq_config_word,
pci_conf1_write_mq_config_dword
};
+#undef PCI_CONF1_ADDRESS

#endif /* !CONFIG_MULTIQUAD */
#define PCI_CONF1_ADDRESS(bus, dev, fn, reg) \

--
Reply-To: kronos@xxxxxxxxxxxxxx
Home: http://kronoz.cjb.net
"Fare l'amore con dieci donne e` fantastico, soprattutto perche` ti
presentano un sacco di amiche." -- Fabio Di Iorio
-
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/