diff options
| author | Tom Rini <trini@kernel.crashing.org> | 2003-01-06 18:32:40 -0700 |
|---|---|---|
| committer | Tom Rini <trini@kernel.crashing.org> | 2003-01-06 18:32:40 -0700 |
| commit | 0f5b9805ccb9303564f03e66bd0c94d888fe0a4b (patch) | |
| tree | 86ccfec7ee1519ea18dc325fc5d6eddeb1a133a7 /include | |
| parent | d4f7a1127a14bfe68fb80ffeef3b61e362cad7e5 (diff) | |
PPC32: Add explicit parens to the _ALIGN macro.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ppc/page.h | 2 |
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) |
