diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-07-15 14:46:12 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-08-30 10:18:25 +0200 |
commit | 7bf82eb3873fbbee8273f60ddef584194b99f6c1 (patch) | |
tree | 2616ce713f5eb3bb35df07e5bcae8a886e0c4eb6 /arch/parisc/include/asm/pgalloc.h | |
parent | parisc: math-emu: Avoid "fmt" macro collision (diff) | |
download | linux-dev-7bf82eb3873fbbee8273f60ddef584194b99f6c1.tar.xz linux-dev-7bf82eb3873fbbee8273f60ddef584194b99f6c1.zip |
parisc: Rename PMD_ORDER to PMD_TABLE_ORDER
This is the order of the page table allocation, not the order of a PMD.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/pgalloc.h')
-rw-r--r-- | arch/parisc/include/asm/pgalloc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/parisc/include/asm/pgalloc.h b/arch/parisc/include/asm/pgalloc.h index 6a7e98e71f1d..54b63374579b 100644 --- a/arch/parisc/include/asm/pgalloc.h +++ b/arch/parisc/include/asm/pgalloc.h @@ -48,15 +48,15 @@ static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) { pmd_t *pmd; - pmd = (pmd_t *)__get_free_pages(GFP_PGTABLE_KERNEL, PMD_ORDER); + pmd = (pmd_t *)__get_free_pages(GFP_PGTABLE_KERNEL, PMD_TABLE_ORDER); if (likely(pmd)) - memset ((void *)pmd, 0, PAGE_SIZE << PMD_ORDER); + memset ((void *)pmd, 0, PAGE_SIZE << PMD_TABLE_ORDER); return pmd; } static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) { - free_pages((unsigned long)pmd, PMD_ORDER); + free_pages((unsigned long)pmd, PMD_TABLE_ORDER); } #endif |