diff options
Diffstat (limited to 'include/asm-sparc')
-rw-r--r-- | include/asm-sparc/page_32.h | 3 | ||||
-rw-r--r-- | include/asm-sparc/page_64.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-sparc/page_32.h b/include/asm-sparc/page_32.h index 14de518cc38f..cf5fb70ca1c1 100644 --- a/include/asm-sparc/page_32.h +++ b/include/asm-sparc/page_32.h | |||
@@ -134,9 +134,6 @@ BTFIXUPDEF_SETHI(sparc_unmapped_base) | |||
134 | 134 | ||
135 | #endif /* !(__ASSEMBLY__) */ | 135 | #endif /* !(__ASSEMBLY__) */ |
136 | 136 | ||
137 | /* to align the pointer to the (next) page boundary */ | ||
138 | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) | ||
139 | |||
140 | #define PAGE_OFFSET 0xf0000000 | 137 | #define PAGE_OFFSET 0xf0000000 |
141 | #ifndef __ASSEMBLY__ | 138 | #ifndef __ASSEMBLY__ |
142 | extern unsigned long phys_base; | 139 | extern unsigned long phys_base; |
diff --git a/include/asm-sparc/page_64.h b/include/asm-sparc/page_64.h index a8a2bba032c1..b579b910ef51 100644 --- a/include/asm-sparc/page_64.h +++ b/include/asm-sparc/page_64.h | |||
@@ -106,9 +106,6 @@ typedef struct page *pgtable_t; | |||
106 | 106 | ||
107 | #endif /* !(__ASSEMBLY__) */ | 107 | #endif /* !(__ASSEMBLY__) */ |
108 | 108 | ||
109 | /* to align the pointer to the (next) page boundary */ | ||
110 | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) | ||
111 | |||
112 | /* We used to stick this into a hard-coded global register (%g4) | 109 | /* We used to stick this into a hard-coded global register (%g4) |
113 | * but that does not make sense anymore. | 110 | * but that does not make sense anymore. |
114 | */ | 111 | */ |