ARM: common: fiq_debugger: peek the 0th char in ringbuf
authorDima Zavin <dima@android.com>
Wed, 26 Oct 2011 04:24:10 +0000 (21:24 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:25:15 +0000 (12:25 -0800)
commit4bbca4b8f448ee2d0d4f9cd0cc798e016afd03d8
tree6010e6c1588704370b41ae2a20a6a757c677b14f
parent1bd7a4c41bb16310528f4bf091c1991d223b84c4
ARM: common: fiq_debugger: peek the 0th char in ringbuf

ringbuf_consume advances the tail ptr, so peek should always
just peek at offset 0

Change-Id: I8d3d22d2ec1e563d73b53ccbad302e6d74e64e53
Signed-off-by: Dima Zavin <dima@android.com>
arch/arm/common/fiq_debugger.c