summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@au1.ibm.com>2009-11-04 14:39:52 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-11-05 06:41:59 +0100
commitf1167fb318f0ff0bcb9cbb57bb6d16ad450f0cfb (patch)
treea3ebf98234b27fde62800fff6898381698897fea
parentpowerpc: Cleanup Kconfig selection of hugetlbfs support (diff)
downloadlinux-f1167fb318f0ff0bcb9cbb57bb6d16ad450f0cfb.tar.xz
linux-f1167fb318f0ff0bcb9cbb57bb6d16ad450f0cfb.zip
powerpc/mm: Remove debug context clamping from nohash code
I inadvertently left that debug code enabled, causing the number of contexts to be clamped to 31 which is going to slow things down on 4xx and just plain breaks 8xx Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r--arch/powerpc/mm/mmu_context_nohash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/mmu_context_nohash.c b/arch/powerpc/mm/mmu_context_nohash.c
index c2f93dc470e6..be4f34c30a0b 100644
--- a/arch/powerpc/mm/mmu_context_nohash.c
+++ b/arch/powerpc/mm/mmu_context_nohash.c
@@ -25,8 +25,8 @@
* also clear mm->cpu_vm_mask bits when processes are migrated
*/
-#define DEBUG_MAP_CONSISTENCY
-#define DEBUG_CLAMP_LAST_CONTEXT 31
+//#define DEBUG_MAP_CONSISTENCY
+//#define DEBUG_CLAMP_LAST_CONTEXT 31
//#define DEBUG_HARDER
/* We don't use DEBUG because it tends to be compiled in always nowadays