aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/page.h')
-rw-r--r--arch/microblaze/include/asm/page.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/microblaze/include/asm/page.h b/arch/microblaze/include/asm/page.h
index c12c6dfafd9f..4f268faa0126 100644
--- a/arch/microblaze/include/asm/page.h
+++ b/arch/microblaze/include/asm/page.h
@@ -47,13 +47,6 @@
47#define PAGE_UP(addr) (((addr)+((PAGE_SIZE)-1))&(~((PAGE_SIZE)-1))) 47#define PAGE_UP(addr) (((addr)+((PAGE_SIZE)-1))&(~((PAGE_SIZE)-1)))
48#define PAGE_DOWN(addr) ((addr)&(~((PAGE_SIZE)-1))) 48#define PAGE_DOWN(addr) ((addr)&(~((PAGE_SIZE)-1)))
49 49
50/* align addr on a size boundary - adjust address up/down if needed */
51#define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((size)-1)))
52#define _ALIGN_DOWN(addr, size) ((addr)&(~((size)-1)))
53
54/* align addr on a size boundary - adjust address up if needed */
55#define _ALIGN(addr, size) _ALIGN_UP(addr, size)
56
57#ifndef CONFIG_MMU 50#ifndef CONFIG_MMU
58/* 51/*
59 * PAGE_OFFSET -- the first address of the first page of memory. When not 52 * PAGE_OFFSET -- the first address of the first page of memory. When not