[PATCH 4/9] arm-mmu: remove semicolon in arm mmu.c

Alexander Aring alex.aring at gmail.com
Sun Jan 13 12:42:18 EST 2013


Remove semicolon in PAGE_ALIGN macro.

Signed-off-by: Alexander Aring <alex.aring at gmail.com>
---
 arch/arm/cpu/mmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c
index 068e0ea..40b7ec4 100644
--- a/arch/arm/cpu/mmu.c
+++ b/arch/arm/cpu/mmu.c
@@ -294,7 +294,7 @@ void mmu_disable(void)
 	__mmu_cache_off();
 }
 
-#define PAGE_ALIGN(s) ((s) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1);
+#define PAGE_ALIGN(s) (((s) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))
 
 void *dma_alloc_coherent(size_t size)
 {
-- 
1.8.1




More information about the barebox mailing list