aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/xmon/xmon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index f829baf45fd7..bf8f49a8b3a7 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -242,9 +242,7 @@ Commands:\n\
242" u dump TLB\n" 242" u dump TLB\n"
243#endif 243#endif
244" ? help\n" 244" ? help\n"
245#ifdef CONFIG_PPC64 245" # n limit output to n lines per page (for dp, dpa, dl)\n"
246" # n limit output to n lines per page (dump paca only)\n"
247#endif
248" zr reboot\n\ 246" zr reboot\n\
249 zh halt\n" 247 zh halt\n"
250; 248;
@@ -2333,10 +2331,12 @@ dump_log_buf(void)
2333 sync(); 2331 sync();
2334 2332
2335 kmsg_dump_rewind_nolock(&dumper); 2333 kmsg_dump_rewind_nolock(&dumper);
2334 xmon_start_pagination();
2336 while (kmsg_dump_get_line_nolock(&dumper, false, buf, sizeof(buf), &len)) { 2335 while (kmsg_dump_get_line_nolock(&dumper, false, buf, sizeof(buf), &len)) {
2337 buf[len] = '\0'; 2336 buf[len] = '\0';
2338 printf("%s", buf); 2337 printf("%s", buf);
2339 } 2338 }
2339 xmon_end_pagination();
2340 2340
2341 sync(); 2341 sync();
2342 /* wait a little while to see if we get a machine check */ 2342 /* wait a little while to see if we get a machine check */