[PATCH 2/5] Removing dead CONFIG_HIGHPTE

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Egger
Date: Wednesday, June 9, 2010 - 2:59 am

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>
---
 arch/powerpc/mm/pgtable_32.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/mm/pgtable_32.c b/arch/powerpc/mm/pgtable_32.c
index 9fc02dc..34347b2 100644
--- a/arch/powerpc/mm/pgtable_32.c
+++ b/arch/powerpc/mm/pgtable_32.c
@@ -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)
-- 
1.6.3.3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] Removing dead code, Christoph Egger, (Wed Jun 9, 2:58 am)
[PATCH 1/5] Removing dead BOOK3E_MMU_TLB_STATS, Christoph Egger, (Wed Jun 9, 2:59 am)
[PATCH 2/5] Removing dead CONFIG_HIGHPTE, Christoph Egger, (Wed Jun 9, 2:59 am)
[PATCH 3/5] Removing dead CONFIG_SMP_750, Christoph Egger, (Wed Jun 9, 3:00 am)
[PATCH 4/5] Removing dead CONFIG_SERIAL_TEXT_DEBUG, Christoph Egger, (Wed Jun 9, 3:00 am)
[PATCH 5/5] Removing dead CONFIG_PPC47x, Christoph Egger, (Wed Jun 9, 3:01 am)
[PATCH 5b/5] Removing dead CONFIG_PPC47x, Christoph Egger, (Wed Jun 9, 4:02 am)
Re: [PATCH 5b/5] Removing dead CONFIG_PPC47x, Josh Boyer, (Wed Jun 9, 5:05 am)
Re: [PATCH 3/5] Removing dead CONFIG_SMP_750, Josh Boyer, (Wed Jun 9, 5:35 am)
Re: [PATCH 1/5] Removing dead BOOK3E_MMU_TLB_STATS, Benjamin Herrenschmidt, (Wed Jun 9, 10:20 pm)
Re: [PATCH 3/5] Removing dead CONFIG_SMP_750, Benjamin Herrenschmidt, (Wed Jun 9, 11:14 pm)
Re: [PATCH 5b/5] Removing dead CONFIG_PPC47x, Benjamin Herrenschmidt, (Thu Jun 10, 1:59 am)
Re: [PATCH 3/5] Removing dead CONFIG_SMP_750, Christoph Egger, (Thu Jun 10, 5:23 am)
Re: [PATCH 0/5] Removing dead code, Joe Perches, (Thu Jun 10, 11:46 am)