]> err.no Git - linux-2.6/commitdiff
powerpc: Fix a build problem on ppc32 with new DMA_ATTRs
authorTakashi Iwai <tiwai@suse.de>
Wed, 16 Jul 2008 00:20:11 +0000 (02:20 +0200)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 15 Jul 2008 05:38:48 +0000 (15:38 +1000)
The new dma_attrs support must only be enabled for 64 bits as it's not
been implemented for 32 bits yet.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig

index 5e2185432ad365a80959aa951f290608e6729336..06b72771ae22991507d727663343fd0e8b406d86 100644 (file)
@@ -113,7 +113,7 @@ config PPC
        select HAVE_KPROBES
        select HAVE_KRETPROBES
        select HAVE_LMB
-       select HAVE_DMA_ATTRS
+       select HAVE_DMA_ATTRS if PPC64
 
 config EARLY_PRINTK
        bool