aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-s390/page.h')
-rw-r--r--include/asm-s390/page.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/asm-s390/page.h b/include/asm-s390/page.h
index f0f4579eac1..991ba939408 100644
--- a/include/asm-s390/page.h
+++ b/include/asm-s390/page.h
@@ -125,10 +125,18 @@ page_get_storage_key(unsigned long addr)
125 return skey; 125 return skey;
126} 126}
127 127
128#endif /* !__ASSEMBLY__ */ 128#ifdef CONFIG_PAGE_STATES
129
130struct page;
131void arch_free_page(struct page *page, int order);
132void arch_alloc_page(struct page *page, int order);
133
134#define HAVE_ARCH_FREE_PAGE
135#define HAVE_ARCH_ALLOC_PAGE
129 136
130/* to align the pointer to the (next) page boundary */ 137#endif
131#define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) 138
139#endif /* !__ASSEMBLY__ */
132 140
133#define __PAGE_OFFSET 0x0UL 141#define __PAGE_OFFSET 0x0UL
134#define PAGE_OFFSET 0x0UL 142#define PAGE_OFFSET 0x0UL