OSDN Git Service

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)
commitca5dd3954a62dc14c2afff1c34b3b5d8dc74f777
treeedce5dae9849df95314a4eab763c769c043c9049
parent1267643dc311e860e728dbd09a97c2e0a773bfdb
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