powerpc: Append linux_banner to exception information in xmon.
PATCH 1/1 powerpc: Append linux_banner to exception information in xmon.
Currently if you are in xmon without an oops etc. to view the kernel version you have to type "d $linux_banner" - not necessarily obvious. As this is useful information, append to the output of "e" command.
Signed-off-by Rashmica Gupta <[email protected]>
--- arch/powerpc/xmon/xmon.c | 2 ++ 1 file changed, 2 insertions(+)
arch/powerpc/xmon/xmon.c +2 -0
@@ -1528,6 +1528,8 @@ static void excprint(struct pt_regs *fp)if (trap ==0x700 )print_bug_trap (fp); + +printf (linux_banner); }static void prregs (struct pt_regs *fp)
Signature · 1 line
2.5.0
Michael Ellerman
reviewerHi Rashmica,
Can you make your subject "powerpc/xmon: ...".
Quoted 2 lines · Rashmica Gupta
Currently if you are in xmon without an oops etc. to view the kernel version you have to type "d $linux_banner" - not necessarily obvious. As this is useful information, append to the output of "e" command.
This line should be word wrapped.
And can you include an example of the output in the change log?
cheers