]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/linux-26-headers/include/asm-mips/mach-generic/kmalloc.h
Inital import
[l4.git] / l4 / pkg / linux-26-headers / include / asm-mips / mach-generic / kmalloc.h
diff --git a/l4/pkg/linux-26-headers/include/asm-mips/mach-generic/kmalloc.h b/l4/pkg/linux-26-headers/include/asm-mips/mach-generic/kmalloc.h
new file mode 100644 (file)
index 0000000..b8e6deb
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef __ASM_MACH_GENERIC_KMALLOC_H
+#define __ASM_MACH_GENERIC_KMALLOC_H
+
+
+#ifndef CONFIG_DMA_COHERENT
+/*
+ * Total overkill for most systems but need as a safe default.
+ * Set this one if any device in the system might do non-coherent DMA.
+ */
+#define ARCH_KMALLOC_MINALIGN  128
+#endif
+
+#endif /* __ASM_MACH_GENERIC_KMALLOC_H */