]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/dma-mapping.h
[PATCH] ARM: Fix XScale PMD setting
[linux-2.6] / include / asm-powerpc / dma-mapping.h
index 58a25b13a5b325d0f1a9a3c7860931a79020b850..2ac63f56959270e49cd3169b8a9c0067854cb603 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/mm.h>
 #include <asm/scatterlist.h>
 #include <asm/io.h>
-#include <asm/bug.h>
 
 #define DMA_ERROR_CODE         (~(dma_addr_t)0x0)
 
@@ -230,7 +229,7 @@ static inline int dma_get_cache_alignment(void)
 #ifdef CONFIG_PPC64
        /* no easy way to get cache size on all processors, so return
         * the maximum possible, to be safe */
-       return (1 << L1_CACHE_SHIFT_MAX);
+       return (1 << INTERNODE_CACHE_SHIFT);
 #else
        /*
         * Each processor family will define its own L1_CACHE_SHIFT,