summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2013-01-13 18:42:18 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-14 13:21:39 +0100
commit1431f4a7fc315553628b5f762abcc7b8e16e7159 (patch)
treeffa67ac24fa9b23803ec8d7297d47c38f320673a /arch
parent460730195125a31a9e97236a4ffeb0bd0d543781 (diff)
downloadbarebox-1431f4a7fc315553628b5f762abcc7b8e16e7159.tar.gz
barebox-1431f4a7fc315553628b5f762abcc7b8e16e7159.tar.xz
arm-mmu: remove semicolon in arm mmu.c
Remove semicolon in PAGE_ALIGN macro. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c
index 068e0eac1d..40b7ec4e8c 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)
{