diff options
Diffstat (limited to 'arch/microblaze/include')
-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 @@ | |||
39 | #define PAGE_UP(addr) (((addr)+((PAGE_SIZE)-1))&(~((PAGE_SIZE)-1))) | 39 | #define PAGE_UP(addr) (((addr)+((PAGE_SIZE)-1))&(~((PAGE_SIZE)-1))) |
40 | #define PAGE_DOWN(addr) ((addr)&(~((PAGE_SIZE)-1))) | 40 | #define PAGE_DOWN(addr) ((addr)&(~((PAGE_SIZE)-1))) |
41 | 41 | ||
42 | /* align addr on a size boundary - adjust address up/down if needed */ | ||
43 | #define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((size)-1))) | ||
44 | #define _ALIGN_DOWN(addr, size) ((addr)&(~((size)-1))) | ||
45 | |||
46 | /* align addr on a size boundary - adjust address up if needed */ | ||
47 | #define _ALIGN(addr, size) _ALIGN_UP(addr, size) | ||
48 | |||
49 | #ifndef CONFIG_MMU | 42 | #ifndef CONFIG_MMU |
50 | /* | 43 | /* |
51 | * PAGE_OFFSET -- the first address of the first page of memory. When not | 44 | * PAGE_OFFSET -- the first address of the first page of memory. When not |