diff options
Diffstat (limited to 'arch/s390/include/asm/pgalloc.h')
-rw-r--r-- | arch/s390/include/asm/pgalloc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/s390/include/asm/pgalloc.h b/arch/s390/include/asm/pgalloc.h index 9e18a61d3df3..d39a31c3cdf2 100644 --- a/arch/s390/include/asm/pgalloc.h +++ b/arch/s390/include/asm/pgalloc.h | |||
@@ -18,9 +18,9 @@ | |||
18 | unsigned long *crst_table_alloc(struct mm_struct *); | 18 | unsigned long *crst_table_alloc(struct mm_struct *); |
19 | void crst_table_free(struct mm_struct *, unsigned long *); | 19 | void crst_table_free(struct mm_struct *, unsigned long *); |
20 | 20 | ||
21 | unsigned long *page_table_alloc(struct mm_struct *, unsigned long); | 21 | unsigned long *page_table_alloc(struct mm_struct *); |
22 | void page_table_free(struct mm_struct *, unsigned long *); | 22 | void page_table_free(struct mm_struct *, unsigned long *); |
23 | void page_table_free_rcu(struct mmu_gather *, unsigned long *); | 23 | void page_table_free_rcu(struct mmu_gather *, unsigned long *, unsigned long); |
24 | 24 | ||
25 | void page_table_reset_pgste(struct mm_struct *, unsigned long, unsigned long, | 25 | void page_table_reset_pgste(struct mm_struct *, unsigned long, unsigned long, |
26 | bool init_skey); | 26 | bool init_skey); |
@@ -145,8 +145,8 @@ static inline void pmd_populate(struct mm_struct *mm, | |||
145 | /* | 145 | /* |
146 | * page table entry allocation/free routines. | 146 | * page table entry allocation/free routines. |
147 | */ | 147 | */ |
148 | #define pte_alloc_one_kernel(mm, vmaddr) ((pte_t *) page_table_alloc(mm, vmaddr)) | 148 | #define pte_alloc_one_kernel(mm, vmaddr) ((pte_t *) page_table_alloc(mm)) |
149 | #define pte_alloc_one(mm, vmaddr) ((pte_t *) page_table_alloc(mm, vmaddr)) | 149 | #define pte_alloc_one(mm, vmaddr) ((pte_t *) page_table_alloc(mm)) |
150 | 150 | ||
151 | #define pte_free_kernel(mm, pte) page_table_free(mm, (unsigned long *) pte) | 151 | #define pte_free_kernel(mm, pte) page_table_free(mm, (unsigned long *) pte) |
152 | #define pte_free(mm, pte) page_table_free(mm, (unsigned long *) pte) | 152 | #define pte_free(mm, pte) page_table_free(mm, (unsigned long *) pte) |