rk: fiq_debugger: fix add last_kmsg command commit
author黄涛 <huangtao@rock-chips.com>
Fri, 28 Dec 2012 12:11:08 +0000 (20:11 +0800)
committer黄涛 <huangtao@rock-chips.com>
Fri, 28 Dec 2012 12:11:53 +0000 (20:11 +0800)
arch/arm/common/fiq_debugger.c

index bd0e4575fa61aa1c5d8a7c3f29de8e7404dfd3aa..d23809165927cc716f6ac7d79b151e531204a4d3 100644 (file)
@@ -623,10 +623,10 @@ static void debug_help(struct fiq_debugger_state *state)
                                " reboot        Reboot\n"
                                " irqs          Interupt status\n"
                                " kmsg          Kernel log\n"
+                               " version       Kernel version\n");
 #ifdef CONFIG_RK29_LAST_LOG
-                               " last_kmsg     Last kernel log\n"
+       debug_printf(state,     " last_kmsg     Last kernel log\n");
 #endif
-                               " version       Kernel version\n");
        debug_printf(state,     " sleep         Allow sleep while in FIQ\n"
                                " nosleep       Disable sleep while in FIQ\n"
                                " console       Switch terminal to console\n"