Commit 8817aabb authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman

powerpc: Remove ucache_bsize

ppc601 and e200 were the users of ucache_bsize.
ppc601 and e200 are now gone.

Remove ucache_bsize.
Signed-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/288b6048597c0fdc495b203fda57a223d89499d2.1605589460.git.christophe.leroy@csgroup.eu
parent 39c8bf2b
...@@ -168,7 +168,7 @@ do { \ ...@@ -168,7 +168,7 @@ do { \
/* Cache size items */ \ /* Cache size items */ \
NEW_AUX_ENT(AT_DCACHEBSIZE, dcache_bsize); \ NEW_AUX_ENT(AT_DCACHEBSIZE, dcache_bsize); \
NEW_AUX_ENT(AT_ICACHEBSIZE, icache_bsize); \ NEW_AUX_ENT(AT_ICACHEBSIZE, icache_bsize); \
NEW_AUX_ENT(AT_UCACHEBSIZE, ucache_bsize); \ NEW_AUX_ENT(AT_UCACHEBSIZE, 0); \
VDSO_AUX_ENT(AT_SYSINFO_EHDR, (unsigned long)current->mm->context.vdso);\ VDSO_AUX_ENT(AT_SYSINFO_EHDR, (unsigned long)current->mm->context.vdso);\
ARCH_DLINFO_CACHE_GEOMETRY; \ ARCH_DLINFO_CACHE_GEOMETRY; \
} while (0) } while (0)
......
...@@ -90,8 +90,6 @@ EXPORT_SYMBOL_GPL(boot_cpuid); ...@@ -90,8 +90,6 @@ EXPORT_SYMBOL_GPL(boot_cpuid);
*/ */
int dcache_bsize; int dcache_bsize;
int icache_bsize; int icache_bsize;
int ucache_bsize;
unsigned long klimit = (unsigned long) _end; unsigned long klimit = (unsigned long) _end;
...@@ -802,8 +800,6 @@ static __init void print_system_info(void) ...@@ -802,8 +800,6 @@ static __init void print_system_info(void)
pr_info("dcache_bsize = 0x%x\n", dcache_bsize); pr_info("dcache_bsize = 0x%x\n", dcache_bsize);
pr_info("icache_bsize = 0x%x\n", icache_bsize); pr_info("icache_bsize = 0x%x\n", icache_bsize);
if (ucache_bsize != 0)
pr_info("ucache_bsize = 0x%x\n", ucache_bsize);
pr_info("cpu_features = 0x%016lx\n", cur_cpu_spec->cpu_features); pr_info("cpu_features = 0x%016lx\n", cur_cpu_spec->cpu_features);
pr_info(" possible = 0x%016lx\n", pr_info(" possible = 0x%016lx\n",
......
...@@ -222,5 +222,4 @@ __init void initialize_cache_info(void) ...@@ -222,5 +222,4 @@ __init void initialize_cache_info(void)
*/ */
dcache_bsize = cur_cpu_spec->dcache_bsize; dcache_bsize = cur_cpu_spec->dcache_bsize;
icache_bsize = cur_cpu_spec->icache_bsize; icache_bsize = cur_cpu_spec->icache_bsize;
ucache_bsize = 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment