]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/dma-mapping.h
[PATCH] Remove debug.h from rio.h (unused file)
[linux-2.6] / include / asm-powerpc / dma-mapping.h
index 58a25b13a5b325d0f1a9a3c7860931a79020b850..837756ab7dc7fe868c2caa19d526406849617d13 100644 (file)
@@ -230,7 +230,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,