Re: [PATCH] ARM: mmu: Use PAGE_ALIGN in dma_free_coherent

2013-04-26 Thread Sascha Hauer
On Fri, Apr 26, 2013 at 03:52:18PM +0200, Jan Weitzel wrote: > We PAGE_ALIGN the size in dma_alloc_coherent so do it also when free the > memory. > Use PAGE_SIZE instead of magic numbers. > > Signed-off-by: Jan Weitzel Applied, thanks Sascha > --- > arch/arm/cpu/mmu.c |7 --- > 1 fil

[PATCH] ARM: mmu: Use PAGE_ALIGN in dma_free_coherent

2013-04-26 Thread Jan Weitzel
We PAGE_ALIGN the size in dma_alloc_coherent so do it also when free the memory. Use PAGE_SIZE instead of magic numbers. Signed-off-by: Jan Weitzel --- arch/arm/cpu/mmu.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c index