]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] sparsemem: fix crash in show_mem
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 13 Jul 2006 14:01:50 +0000 (23:01 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Jul 2006 20:26:22 +0000 (21:26 +0100)
commit8031695eedcb4186c3e2ea667dbc43e300e8fc37
tree59bb468f05b99adbdbcef01195cff622585a337f
parent0cf67743d09530293efa6a9631dd67ae7ec57a05
[MIPS] sparsemem: fix crash in show_mem

With sparsemem, pfn should be checked by pfn_valid() before pfn_to_page().

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/pgtable.c