From: Geert Uytterhoeven Date: Sun, 16 Dec 2012 17:27:33 +0000 (+0100) Subject: m68k: Provide dma_alloc_attrs()/dma_free_attrs() X-Git-Tag: v3.8-rc5~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a09ab6771276a7fd3f80be4250a0fd0ba5114ad;p=pandora-kernel.git m68k: Provide dma_alloc_attrs()/dma_free_attrs() Since commit 0049fb2603b7afb1080776ee691dfa5a3d282357 ("OMAPFB: use dma_alloc_attrs to allocate memory") we have one non-arch user of dma_{alloc,free}_attrs(). Hence provide these functions, as wrappers around dma_{alloc,free}_coherent(). Note that most architectures do it the other way around. But as so far m68k doesn't support the attributes at all, our solution should generate smaller code. Signed-off-by: Geert Uytterhoeven --- Reading git-diff-tree failed