Commit 79873e8d authored by Jimi Xenidis's avatar Jimi Xenidis Committed by Benjamin Herrenschmidt

powerpc/xmon: Fix the 'u' command description

The 'u' command will print the TLB on book3e parts and the SLB on
Book3s parts, but the help system doesn't say that correctly.
Signed-off-by: default avatarJimi Xenidis <jimix@pobox.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent c3dcf53a
...@@ -228,13 +228,11 @@ Commands:\n\ ...@@ -228,13 +228,11 @@ Commands:\n\
t print backtrace\n\ t print backtrace\n\
x exit monitor and recover\n\ x exit monitor and recover\n\
X exit monitor and dont recover\n" X exit monitor and dont recover\n"
#ifdef CONFIG_PPC64 #if defined(CONFIG_PPC64) && !defined(CONFIG_PPC_BOOK3E)
" u dump segment table or SLB\n" " u dump segment table or SLB\n"
#endif #elif defined(CONFIG_PPC_STD_MMU_32)
#ifdef CONFIG_PPC_STD_MMU_32
" u dump segment registers\n" " u dump segment registers\n"
#endif #elif defined(CONFIG_44x) || defined(CONFIG_PPC_BOOK3E)
#ifdef CONFIG_44x
" u dump TLB\n" " u dump TLB\n"
#endif #endif
" ? help\n" " ? help\n"
...@@ -885,13 +883,11 @@ cmds(struct pt_regs *excp) ...@@ -885,13 +883,11 @@ cmds(struct pt_regs *excp)
case 'u': case 'u':
dump_segments(); dump_segments();
break; break;
#endif #elif defined(CONFIG_4xx)
#ifdef CONFIG_4xx
case 'u': case 'u':
dump_tlb_44x(); dump_tlb_44x();
break; break;
#endif #elif defined(CONFIG_PPC_BOOK3E)
#ifdef CONFIG_PPC_BOOK3E
case 'u': case 'u':
dump_tlb_book3e(); dump_tlb_book3e();
break; break;
......
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