mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 07:04:10 +08:00
powerpc/pseries: lparcfg don't include slb_size line in radix mode
This avoids a change in behaviour in the later patch making hash support configurable. This is possibly a user interface change, so the alternative would be a hard-coded slb_size=0 here. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211201144153.2456614-7-npiggin@gmail.com
This commit is contained in:
parent
0c7cc15e92
commit
3d3282fd34
@ -532,7 +532,8 @@ static int pseries_lparcfg_data(struct seq_file *m, void *v)
|
||||
lppaca_shared_proc(get_lppaca()));
|
||||
|
||||
#ifdef CONFIG_PPC_BOOK3S_64
|
||||
seq_printf(m, "slb_size=%d\n", mmu_slb_size);
|
||||
if (!radix_enabled())
|
||||
seq_printf(m, "slb_size=%d\n", mmu_slb_size);
|
||||
#endif
|
||||
parse_em_data(m);
|
||||
maxmem_data(m);
|
||||
|
Loading…
Reference in New Issue
Block a user