From: Glauber Costa Date: Tue, 8 Apr 2008 16:20:58 +0000 (-0300) Subject: x86: isolate coherent mapping functions X-Git-Tag: v2.6.26-rc1~1133^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d09d815c1b1d437a3ea89ecd92c91179266d1243;p=pandora-kernel.git x86: isolate coherent mapping functions i386 implements the declare coherent memory API, and x86_64 does not it is reflected in pieces of dma_alloc_coherent and dma_free_coherent. Those pieces are isolated in separate functions, that are declared as empty macros in x86_64. This way we can make the code the same. Signed-off-by: Glauber Costa Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed