projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1c3a55
)
powerpc: import a gfp_t fix to arch/powerpc/mm/pgtable_32.c
author
Paul Mackerras
<paulus@samba.org>
Sat, 29 Oct 2005 12:10:38 +0000
(22:10 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Sat, 29 Oct 2005 12:10:38 +0000
(22:10 +1000)
This applies the same fix as Al Viro recently made to
arch/ppc/mm/pgtable.c.
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/pgtable_32.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/mm/pgtable_32.c
b/arch/powerpc/mm/pgtable_32.c
index 5792e533916f29b1d16cea442d3c6e4ecb323f54..f54fb9d3927a995116a985c5417b0029fa2575a7 100644
(file)
--- a/
arch/powerpc/mm/pgtable_32.c
+++ b/
arch/powerpc/mm/pgtable_32.c
@@
-114,9
+114,9
@@
struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address)
struct page *ptepage;
#ifdef CONFIG_HIGHPTE
-
in
t flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_REPEAT;
+
gfp_
t flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_REPEAT;
#else
-
in
t flags = GFP_KERNEL | __GFP_REPEAT;
+
gfp_
t flags = GFP_KERNEL | __GFP_REPEAT;
#endif
ptepage = alloc_pages(flags, 0);