Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129693
b: refs/heads/master
c: 5da7f3d
h: refs/heads/master
i:
  129691: 82759fa
v: v3
  • Loading branch information
Ivan Kokshaysky authored and Linus Torvalds committed Jan 16, 2009
1 parent 0ba6550 commit 2b58408
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 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: 6946ce00c944131464d408c1e9b7b290d8bc3d15
refs/heads/master: 5da7f3d71e243ef5c464967581414d29c72bab75
7 changes: 6 additions & 1 deletion trunk/arch/alpha/include/asm/pgalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ pmd_free(struct mm_struct *mm, pmd_t *pmd)
free_page((unsigned long)pmd);
}

extern pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long addr);
static inline pte_t *
pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
{
pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO);
return pte;
}

static inline void
pte_free_kernel(struct mm_struct *mm, pte_t *pte)
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/alpha/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ pgd_alloc(struct mm_struct *mm)
return ret;
}

pte_t *
pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
{
pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO);
return pte;
}


/*
* BAD_PAGE is the page that is used for page faults when linux
Expand Down

0 comments on commit 2b58408

Please sign in to comment.