git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-mips
/
pgalloc.h
diff --git
a/include/asm-mips/pgalloc.h
b/include/asm-mips/pgalloc.h
index
4f96427
..
2d63f5b
100644
(file)
--- a/
include/asm-mips/pgalloc.h
+++ b/
include/asm-mips/pgalloc.h
@@
-56,9
+56,7
@@
static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm,
{
pte_t *pte;
{
pte_t *pte;
- pte = (pte_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT, PTE_ORDER);
- if (pte)
- clear_page(pte);
+ pte = (pte_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, PTE_ORDER);
return pte;
}
return pte;
}