]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix xmon dl command for new printk implementation
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 23 Aug 2012 22:09:12 +0000 (22:09 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 24 Aug 2012 10:26:03 +0000 (20:26 +1000)
commitf897ac71e66d51fdd16141f005182a6b7dd3d781
treeedce5dae9849df95314a4eab763c769c043c9049
parent5d7952ba8d707d670a6c997a0851ca0a78c00573
powerpc: Fix xmon dl command for new printk implementation

Since the printk internals were reworked the xmon 'dl' command which
dumps the content of __log_buf has stopped working.

It is now a structured buffer, so just dumping it doesn't really work.

Use the helpers added for kgdb to print out the content.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/xmon/xmon.c