aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/mm/tsb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/mm/tsb.c')
-rw-r--r--arch/sparc64/mm/tsb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sparc64/mm/tsb.c b/arch/sparc64/mm/tsb.c
index 236d02f41a01..8eb8a7c76ec9 100644
--- a/arch/sparc64/mm/tsb.c
+++ b/arch/sparc64/mm/tsb.c
@@ -252,7 +252,7 @@ static const char *tsb_cache_names[8] = {
252 "tsb_1MB", 252 "tsb_1MB",
253}; 253};
254 254
255void __init tsb_cache_init(void) 255void __init pgtable_cache_init(void)
256{ 256{
257 unsigned long i; 257 unsigned long i;
258 258
@@ -262,8 +262,7 @@ void __init tsb_cache_init(void)
262 262
263 tsb_caches[i] = kmem_cache_create(name, 263 tsb_caches[i] = kmem_cache_create(name,
264 size, size, 264 size, size,
265 SLAB_HWCACHE_ALIGN | 265 0,
266 SLAB_MUST_HWCACHE_ALIGN,
267 NULL, NULL); 266 NULL, NULL);
268 if (!tsb_caches[i]) { 267 if (!tsb_caches[i]) {
269 prom_printf("Could not create %s cache\n", name); 268 prom_printf("Could not create %s cache\n", name);