From: Sam Ravnborg <sam@xxxxxxxxxxxx> Date: Fri, 29 Apr 2011 12:29:27 +0200 > On Fri, Apr 29, 2011 at 10:17:00AM +0200, Kristoffer Glembo wrote: >> The function mmu_inval_dma_area takes a virtual address as a parameter >> which is problematic in case the buffer is located in highmem and the >> mapping currently is unavailable. >> >> Since the function was only implemented for LEON this patch removes >> calls to it in non LEON code paths and renames it to dma_make_coherent >> which instead takes a physical address (which for now is unused since we >> flush the whole cache). This way it is possible to remove several unnecessary >> calls to page_address which will fail if the virtual mapping is unavailable. >> >> Signed-off-by: Kristoffer Glembo <kristoffer@xxxxxxxxxxx> > Looks good! > > Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx> Applied. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html