rk: last_log: fix printk over read bug
author黄涛 <huangtao@rock-chips.com>
Tue, 15 Jan 2013 01:40:36 +0000 (09:40 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 15 Jan 2013 01:43:06 +0000 (09:43 +0800)
commit760a674ae7e54f2b867ff6ab0602feb9774d396d
treed78c44e4295d08dd231e332b86774efcbd20317e
parent98bd6e860661bacdf45efb77b53b026645267863
rk: last_log: fix printk over read bug

version 2.1, fix this bug:
Unable to handle kernel paging request at virtual address f7180000
pgd = c0404000
[f7180000] *pgd=9002c811, *pte=00000000, *ppte=00000000
Internal error: Oops: 7 [#1] PREEMPT SMP
CPU: 0    Tainted: G         C   (3.0.36+ #265)
PC is at log_prefix+0x2c/0xe0
LR is at console_unlock+0x128/0x1b0
arch/arm/plat-rk/last_log.c
kernel/printk.c