From: Robert Reif <reif@xxxxxxxxxxxxx> Date: Sat, 30 Aug 2008 10:26:40 -0400 > I get these errors when compiling sparc-next for sparc32 SMP: > > CC arch/sparc/kernel/dma.o > arch/sparc/kernel/dma.c:156: error: redefinition of ‘dma_sync_single_for_cpu’ > arch/sparc/kernel/dma.c:144: error: previous definition of ‘dma_sync_single_for_cpu’ was here This is what I get for doing my test builds with everything enabled. :) It would only trigger if CONFIG_PCI was not set. I just pushed the following fix to the tree, thanks for the report! sparc: Stop setting NO_DMA. This fixes the build with PCI disabled, we do want the generic DMA facilities and interfaces even when just SBUS is enabled. Based upon a build failure report by Robert Reif. Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> --- arch/sparc/Kconfig | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index cb1dd35..abcd82b 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -235,9 +235,6 @@ source "drivers/pci/Kconfig" endif -config NO_DMA - def_bool !PCI - config SUN_OPENPROMFS tristate "Openprom tree appears in /proc/openprom" help -- 1.5.6.5.GIT ��.n��������+%������w��{.n������ܖ)�����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f