[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    [MIPS] sparsemem: fix crash in show_mem
From:       linux-mips () linux-mips ! org
Date:       2007-01-25 19:16:13
Message-ID: S20041623AbXAYTQS/20070125191618Z+12006 () ftp ! linux-mips ! org
[Download RAW message or body]

Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Thu Jul 13 23:01:50 2006 +0900
Comitter: Ralf Baechle <ralf@linux-mips.org> Thu Jan 25 19:14:01 2007 +0000
Commit: b1062be8847ab600b5e70c6b04a0b413211f70b5
Gitweb: http://www.linux-mips.org/g/linux/b1062be8
Branch: linux-2.6.16-stable

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>
(cherry picked from f4dee85e2c6a7d7adf7ea4d6d3053a41c78175b7 commit)

---

 arch/mips/mm/pgtable.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic