summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2003-01-06 18:32:40 -0700
committerTom Rini <trini@kernel.crashing.org>2003-01-06 18:32:40 -0700
commit0f5b9805ccb9303564f03e66bd0c94d888fe0a4b (patch)
tree86ccfec7ee1519ea18dc325fc5d6eddeb1a133a7
parentd4f7a1127a14bfe68fb80ffeef3b61e362cad7e5 (diff)
PPC32: Add explicit parens to the _ALIGN macro.
-rw-r--r--include/asm-ppc/page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/page.h b/include/asm-ppc/page.h
index 4834d006adb6..e0429c2b5bc7 100644
--- a/include/asm-ppc/page.h
+++ b/include/asm-ppc/page.h
@@ -62,7 +62,7 @@ typedef unsigned long pgprot_t;
/* align addr on a size boundry - adjust address up if needed -- Cort */
-#define _ALIGN(addr,size) (((addr)+size-1)&(~(size-1)))
+#define _ALIGN(addr,size) (((addr)+(size)-1)&(~((size)-1)))
/* to align the pointer to the (next) page boundary */
#define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK)