Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57294
b: refs/heads/master
c: a4c28ab
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Paul Mackerras committed Jun 2, 2007
1 parent dabffde commit d3bf1ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 66b30922c8a2c880fe61080c5bf87ae6615b9f64
refs/heads/master: a4c28ab7445f5ca60e56ffd90edb3e9fc1330b71
3 changes: 2 additions & 1 deletion trunk/include/asm-powerpc/pgalloc-64.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm,
static inline struct page *pte_alloc_one(struct mm_struct *mm,
unsigned long address)
{
return virt_to_page(pte_alloc_one_kernel(mm, address));
pte_t *pte = pte_alloc_one_kernel(mm, address);
return pte ? virt_to_page(pte) : NULL;
}

static inline void pte_free_kernel(pte_t *pte)
Expand Down

0 comments on commit d3bf1ba

Please sign in to comment.