diff options
author | Jimi Xenidis <jimix@pobox.com> | 2011-09-29 07:25:10 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-11-24 22:11:28 -0500 |
commit | 79873e8df64cc124cdcad56d1d8330b3f45690bc (patch) | |
tree | c45dbc8ebefa923ffc5d91cea01b293c9db02806 /arch/powerpc/xmon/xmon.c | |
parent | c3dcf53a3fcb01f1d98f6b0cf440bb781dbcbc34 (diff) |
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: Jimi Xenidis <jimix@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/xmon/xmon.c')
-rw-r--r-- | arch/powerpc/xmon/xmon.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index 03a217ae3be0..95cf53b71499 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c | |||
@@ -228,13 +228,11 @@ Commands:\n\ | |||
228 | t print backtrace\n\ | 228 | t print backtrace\n\ |
229 | x exit monitor and recover\n\ | 229 | x exit monitor and recover\n\ |
230 | X exit monitor and dont recover\n" | 230 | X exit monitor and dont recover\n" |
231 | #ifdef CONFIG_PPC64 | 231 | #if defined(CONFIG_PPC64) && !defined(CONFIG_PPC_BOOK3E) |
232 | " u dump segment table or SLB\n" | 232 | " u dump segment table or SLB\n" |
233 | #endif | 233 | #elif defined(CONFIG_PPC_STD_MMU_32) |
234 | #ifdef CONFIG_PPC_STD_MMU_32 | ||
235 | " u dump segment registers\n" | 234 | " u dump segment registers\n" |
236 | #endif | 235 | #elif defined(CONFIG_44x) || defined(CONFIG_PPC_BOOK3E) |
237 | #ifdef CONFIG_44x | ||
238 | " u dump TLB\n" | 236 | " u dump TLB\n" |
239 | #endif | 237 | #endif |
240 | " ? help\n" | 238 | " ? help\n" |
@@ -885,13 +883,11 @@ cmds(struct pt_regs *excp) | |||
885 | case 'u': | 883 | case 'u': |
886 | dump_segments(); | 884 | dump_segments(); |
887 | break; | 885 | break; |
888 | #endif | 886 | #elif defined(CONFIG_4xx) |
889 | #ifdef CONFIG_4xx | ||
890 | case 'u': | 887 | case 'u': |
891 | dump_tlb_44x(); | 888 | dump_tlb_44x(); |
892 | break; | 889 | break; |
893 | #endif | 890 | #elif defined(CONFIG_PPC_BOOK3E) |
894 | #ifdef CONFIG_PPC_BOOK3E | ||
895 | case 'u': | 891 | case 'u': |
896 | dump_tlb_book3e(); | 892 | dump_tlb_book3e(); |
897 | break; | 893 | break; |