Commit b0d03745 authored by Russell King's avatar Russell King

ARM: pgtable: get rid of get_pgd_slow()/free_pgd_slow()

These old names are just aliases for pgd_alloc/pgd_free.  Just use the
new names.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 69529c0e
...@@ -30,11 +30,8 @@ ...@@ -30,11 +30,8 @@
#define pmd_free(mm, pmd) do { } while (0) #define pmd_free(mm, pmd) do { } while (0)
#define pgd_populate(mm,pmd,pte) BUG() #define pgd_populate(mm,pmd,pte) BUG()
extern pgd_t *get_pgd_slow(struct mm_struct *mm); extern pgd_t *pgd_alloc(struct mm_struct *mm);
extern void free_pgd_slow(struct mm_struct *mm, pgd_t *pgd); extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
#define pgd_alloc(mm) get_pgd_slow(mm)
#define pgd_free(mm, pgd) free_pgd_slow(mm, pgd)
#define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO) #define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
/* /*
* need to get a 16k page for level 1 * need to get a 16k page for level 1
*/ */
pgd_t *get_pgd_slow(struct mm_struct *mm) pgd_t *pgd_alloc(struct mm_struct *mm)
{ {
pgd_t *new_pgd, *init_pgd; pgd_t *new_pgd, *init_pgd;
pmd_t *new_pmd, *init_pmd; pmd_t *new_pmd, *init_pmd;
...@@ -73,7 +73,7 @@ pgd_t *get_pgd_slow(struct mm_struct *mm) ...@@ -73,7 +73,7 @@ pgd_t *get_pgd_slow(struct mm_struct *mm)
return NULL; return NULL;
} }
void free_pgd_slow(struct mm_struct *mm, pgd_t *pgd) void pgd_free(struct mm_struct *mm, pgd_t *pgd)
{ {
pmd_t *pmd; pmd_t *pmd;
pgtable_t pte; pgtable_t pte;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment