Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46258
b: refs/heads/master
c: 7112006
h: refs/heads/master
v: v3
  • Loading branch information
Kirill Korotaev authored and Tony Luck committed Feb 6, 2007
1 parent 9f512c4 commit 7df76ff
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: d00195ebc18049f067c8e389c186aa6f5d2b659f
refs/heads/master: 71120061f271f00d8280659bf12e065ca6533d4d
3 changes: 2 additions & 1 deletion trunk/include/asm-ia64/pgalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ pmd_populate_kernel(struct mm_struct *mm, pmd_t * pmd_entry, pte_t * pte)
static inline struct page *pte_alloc_one(struct mm_struct *mm,
unsigned long addr)
{
return virt_to_page(pgtable_quicklist_alloc());
void *pg = pgtable_quicklist_alloc();
return pg ? virt_to_page(pg) : NULL;
}

static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm,
Expand Down

0 comments on commit 7df76ff

Please sign in to comment.