From 0f5b9805ccb9303564f03e66bd0c94d888fe0a4b Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 6 Jan 2003 18:32:40 -0700 Subject: PPC32: Add explicit parens to the _ALIGN macro. --- include/asm-ppc/page.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asm-ppc') 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) -- cgit v1.2.3