summaryrefslogtreecommitdiff
path: root/include/asm-mips/mach-generic/kmalloc.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-11-16 02:56:12 +0000
committerRalf Baechle <ralf@linux-mips.org>2007-02-13 22:40:50 +0000
commit9a88cbb5227970757881b1a65be01dea61fe2584 (patch)
tree2a1e6934ae253e75141efd383ae9df7042452d7c /include/asm-mips/mach-generic/kmalloc.h
parentf65e4fa8e0c6022ad58dc88d1b11b12589ed7f9f (diff)
[MIPS] Unify dma-{coherent,noncoherent.ip27,ip32}
Platforms will now have to supply a function dma_device_is_coherent which returns if a particular device participates in the coherence domain. For most platforms this function will always return 0 or 1. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-generic/kmalloc.h')
-rw-r--r--include/asm-mips/mach-generic/kmalloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-mips/mach-generic/kmalloc.h b/include/asm-mips/mach-generic/kmalloc.h
index 410ab5f6c563..b8e6deba352f 100644
--- a/include/asm-mips/mach-generic/kmalloc.h
+++ b/include/asm-mips/mach-generic/kmalloc.h
@@ -5,6 +5,7 @@
#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