Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225906
b: refs/heads/master
c: b0d0374
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Nov 26, 2010
1 parent 79acc47 commit d2a66a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 69529c0eb76469168f1dd5851f363dbab17ce8fd
refs/heads/master: b0d03745b18c39b8e86e70f7778f2093d2cd4ed7
7 changes: 2 additions & 5 deletions trunk/arch/arm/include/asm/pgalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,8 @@
#define pmd_free(mm, pmd) do { } while (0)
#define pgd_populate(mm,pmd,pte) BUG()

extern pgd_t *get_pgd_slow(struct mm_struct *mm);
extern void free_pgd_slow(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)
extern pgd_t *pgd_alloc(struct mm_struct *mm);
extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);

#define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)

Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/arm/mm/pgd.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/*
* 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;
pmd_t *new_pmd, *init_pmd;
Expand Down Expand Up @@ -73,7 +73,7 @@ pgd_t *get_pgd_slow(struct mm_struct *mm)
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;
pgtable_t pte;
Expand Down

0 comments on commit d2a66a2

Please sign in to comment.