diff options
Diffstat (limited to 'arch/sparc64/mm/init.c')
-rw-r--r-- | arch/sparc64/mm/init.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c index d703b67bc7b9..a1a364e537c7 100644 --- a/arch/sparc64/mm/init.c +++ b/arch/sparc64/mm/init.c | |||
@@ -165,6 +165,8 @@ static void zero_ctor(void *addr, kmem_cache_t *cache, unsigned long flags) | |||
165 | clear_page(addr); | 165 | clear_page(addr); |
166 | } | 166 | } |
167 | 167 | ||
168 | extern void tsb_cache_init(void); | ||
169 | |||
168 | void pgtable_cache_init(void) | 170 | void pgtable_cache_init(void) |
169 | { | 171 | { |
170 | pgtable_cache = kmem_cache_create("pgtable_cache", | 172 | pgtable_cache = kmem_cache_create("pgtable_cache", |
@@ -174,9 +176,10 @@ void pgtable_cache_init(void) | |||
174 | zero_ctor, | 176 | zero_ctor, |
175 | NULL); | 177 | NULL); |
176 | if (!pgtable_cache) { | 178 | if (!pgtable_cache) { |
177 | prom_printf("pgtable_cache_init(): Could not create!\n"); | 179 | prom_printf("Could not create pgtable_cache\n"); |
178 | prom_halt(); | 180 | prom_halt(); |
179 | } | 181 | } |
182 | tsb_cache_init(); | ||
180 | } | 183 | } |
181 | 184 | ||
182 | #ifdef CONFIG_DEBUG_DCFLUSH | 185 | #ifdef CONFIG_DEBUG_DCFLUSH |