diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-04-20 00:28:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-20 00:28:25 -0700 |
| commit | 68b5a30ff3f3bd193ab1c824b7dc9ed464988a41 (patch) | |
| tree | 557c58b136f9ac042990414300089ecbf552cac7 /include/asm-cris/pgalloc.h | |
| parent | 8db50e8b5efcdb7665443f750aef592871761978 (diff) | |
[PATCH] use __GFP_REPEAT in pte_alloc_one()
Remove all the open-coded retry loops in various architectures, use
__GFP_REPEAT.
It could be that at some time in the future we change __GFP_REPEAT to give up
after ten seconds or so, so all the checks for failed allocations are
retained.
Diffstat (limited to 'include/asm-cris/pgalloc.h')
| -rw-r--r-- | include/asm-cris/pgalloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-cris/pgalloc.h b/include/asm-cris/pgalloc.h index 80e73be0d2b0..75dde6f4a42f 100644 --- a/include/asm-cris/pgalloc.h +++ b/include/asm-cris/pgalloc.h @@ -62,7 +62,7 @@ static inline pte_t *pte_alloc_one(struct mm_struct *mm, unsigned long address) { pte_t *pte; - pte = (pte_t *) __get_free_page(GFP_KERNEL); + pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT); if (pte) clear_page(pte); return pte; |
