diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-06-08 07:50:50 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-06-09 23:24:56 -0400 |
commit | 8017ea35d33f9e0950d369773ab48bcb1efb9ba0 (patch) | |
tree | a99576fb9f7d2a2ba13219bc3fe7b09623560d6e | |
parent | 3b6d1eb7ea65f4aa64115cf9ba02c190e5c9f6de (diff) |
powerpc/nohash: Fix build break with 64K pages
Commit 74701d5947a6 "powerpc/mm: Rename function to indicate we are
allocating fragments" renamed page_table_free() to pte_fragment_free().
One occurrence was mistyped as pte_fragment_fre().
This only breaks the nohash 64K page build, which is not the default or
enabled in any defconfig.
Fixes: 74701d5947a6 ("powerpc/mm: Rename function to indicate we are allocating fragments")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r-- | arch/powerpc/include/asm/nohash/64/pgalloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/nohash/64/pgalloc.h b/arch/powerpc/include/asm/nohash/64/pgalloc.h index 0c12a3bfe2ab..069369f6414b 100644 --- a/arch/powerpc/include/asm/nohash/64/pgalloc.h +++ b/arch/powerpc/include/asm/nohash/64/pgalloc.h | |||
@@ -172,7 +172,7 @@ static inline pgtable_t pte_alloc_one(struct mm_struct *mm, | |||
172 | 172 | ||
173 | static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) | 173 | static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) |
174 | { | 174 | { |
175 | pte_fragment_fre((unsigned long *)pte, 1); | 175 | pte_fragment_free((unsigned long *)pte, 1); |
176 | } | 176 | } |
177 | 177 | ||
178 | static inline void pte_free(struct mm_struct *mm, pgtable_t ptepage) | 178 | static inline void pte_free(struct mm_struct *mm, pgtable_t ptepage) |