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)
committerDima Zavin <dima@android.com>
Wed, 26 Oct 2011 05:05:48 +0000 (22:05 -0700)
commitb0092759638469a3a0ff12aa50985cc44ecbc980
treed3e01acec4fc8b382c7890c8092cc0a738594fa1
parent0d5d8ecf7556f054b249a358ee9ede2ec8070b15
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