Skip to content

Commit

Permalink
powerpc: Remove dead CONFIG_HIGHPTE
Browse files Browse the repository at this point in the history
CONFIG_HIGHPTE doesn't exist in Kconfig, therefore removing all
references for it from the source code.

Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Christoph Egger authored and Benjamin Herrenschmidt committed Jun 15, 2010
1 parent 53b5cd3 commit 8054a34
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/powerpc/mm/pgtable_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,7 @@ pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address)
{
struct page *ptepage;

#ifdef CONFIG_HIGHPTE
gfp_t flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_REPEAT | __GFP_ZERO;
#else
gfp_t flags = GFP_KERNEL | __GFP_REPEAT | __GFP_ZERO;
#endif

ptepage = alloc_pages(flags, 0);
if (!ptepage)
Expand Down

0 comments on commit 8054a34

Please sign in to comment.