diff options
author | Grant Likely | 2010-06-25 20:16:52 +0200 |
---|---|---|
committer | Grant Likely | 2010-07-15 07:55:23 +0200 |
commit | f1d4c3a76981addcd7669f404f75041435a04e6a (patch) | |
tree | f1200acbdc31312d650ea43a9e2004e6080182ea /arch/microblaze/include/asm/page.h | |
parent | drivers/of: fix build error when CONFIG_PPC_DCR is set (diff) | |
download | kernel-qcow2-linux-f1d4c3a76981addcd7669f404f75041435a04e6a.tar.gz kernel-qcow2-linux-f1d4c3a76981addcd7669f404f75041435a04e6a.tar.xz kernel-qcow2-linux-f1d4c3a76981addcd7669f404f75041435a04e6a.zip |
of/flattree: Use common ALIGN() macro instead of arch specific _ALIGN
There's no reason to use the powerpc-specific _ALIGN macro in the fdt
code. Replace it with ALIGN() from kernel.h
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-By: Jeremy Kerr <jeremy.kerr@canonical.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/microblaze/include/asm/page.h')
-rw-r--r-- | arch/microblaze/include/asm/page.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/microblaze/include/asm/page.h b/arch/microblaze/include/asm/page.h index 464ff32bee3d..2fd476126260 100644 --- a/arch/microblaze/include/asm/page.h +++ b/arch/microblaze/include/asm/page.h @@ -39,13 +39,6 @@ #define PAGE_UP(addr) (((addr)+((PAGE_SIZE)-1))&(~((PAGE_SIZE)-1))) #define PAGE_DOWN(addr) ((addr)&(~((PAGE_SIZE)-1))) -/* align addr on a size boundary - adjust address up/down if needed */ -#define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((size)-1))) -#define _ALIGN_DOWN(addr, size) ((addr)&(~((size)-1))) - -/* align addr on a size boundary - adjust address up if needed */ -#define _ALIGN(addr, size) _ALIGN_UP(addr, size) - #ifndef CONFIG_MMU /* * PAGE_OFFSET -- the first address of the first page of memory. When not |