diff options
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r-- | arch/powerpc/mm/hash_utils_64.c | 7 | ||||
-rw-r--r-- | arch/powerpc/mm/init_64.c | 1 | ||||
-rw-r--r-- | arch/powerpc/mm/pgtable_64.c | 1 |
3 files changed, 0 insertions, 9 deletions
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c index 6e9e05cce02c..b6970c96d96f 100644 --- a/arch/powerpc/mm/hash_utils_64.c +++ b/arch/powerpc/mm/hash_utils_64.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <linux/init.h> | 32 | #include <linux/init.h> |
33 | #include <linux/signal.h> | 33 | #include <linux/signal.h> |
34 | 34 | ||
35 | #include <asm/ppcdebug.h> | ||
36 | #include <asm/processor.h> | 35 | #include <asm/processor.h> |
37 | #include <asm/pgtable.h> | 36 | #include <asm/pgtable.h> |
38 | #include <asm/mmu.h> | 37 | #include <asm/mmu.h> |
@@ -194,12 +193,6 @@ void __init htab_initialize(void) | |||
194 | htab_size_bytes = get_hashtable_size(); | 193 | htab_size_bytes = get_hashtable_size(); |
195 | pteg_count = htab_size_bytes >> 7; | 194 | pteg_count = htab_size_bytes >> 7; |
196 | 195 | ||
197 | /* For debug, make the HTAB 1/8 as big as it normally would be. */ | ||
198 | ifppcdebug(PPCDBG_HTABSIZE) { | ||
199 | pteg_count >>= 3; | ||
200 | htab_size_bytes = pteg_count << 7; | ||
201 | } | ||
202 | |||
203 | htab_hash_mask = pteg_count - 1; | 196 | htab_hash_mask = pteg_count - 1; |
204 | 197 | ||
205 | if (systemcfg->platform & PLATFORM_LPAR) { | 198 | if (systemcfg->platform & PLATFORM_LPAR) { |
diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c index b0fc822ec29f..aa98b79e734c 100644 --- a/arch/powerpc/mm/init_64.c +++ b/arch/powerpc/mm/init_64.c | |||
@@ -57,7 +57,6 @@ | |||
57 | #include <asm/processor.h> | 57 | #include <asm/processor.h> |
58 | #include <asm/mmzone.h> | 58 | #include <asm/mmzone.h> |
59 | #include <asm/cputable.h> | 59 | #include <asm/cputable.h> |
60 | #include <asm/ppcdebug.h> | ||
61 | #include <asm/sections.h> | 60 | #include <asm/sections.h> |
62 | #include <asm/system.h> | 61 | #include <asm/system.h> |
63 | #include <asm/iommu.h> | 62 | #include <asm/iommu.h> |
diff --git a/arch/powerpc/mm/pgtable_64.c b/arch/powerpc/mm/pgtable_64.c index b79a78206135..d1fbd3fe684f 100644 --- a/arch/powerpc/mm/pgtable_64.c +++ b/arch/powerpc/mm/pgtable_64.c | |||
@@ -59,7 +59,6 @@ | |||
59 | #include <asm/processor.h> | 59 | #include <asm/processor.h> |
60 | #include <asm/mmzone.h> | 60 | #include <asm/mmzone.h> |
61 | #include <asm/cputable.h> | 61 | #include <asm/cputable.h> |
62 | #include <asm/ppcdebug.h> | ||
63 | #include <asm/sections.h> | 62 | #include <asm/sections.h> |
64 | #include <asm/system.h> | 63 | #include <asm/system.h> |
65 | #include <asm/iommu.h> | 64 | #include <asm/iommu.h> |