x86, ioremap: Fix normal ram range check
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Fri, 18 Jun 2010 03:23:57 +0000 (12:23 +0900)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 9 Jul 2010 18:42:11 +0000 (11:42 -0700)
commit35be1b716a475717611b2dc04185e9d80b9cb693
tree6468331fd7f8da58c1bf175af90561edde1eea48
parentffa71f33a820d1ab3f2fc5723819ac60fb76080b
x86, ioremap: Fix normal ram range check

Check for normal RAM in x86 ioremap() code seems to not work for the
last page frame in the specified physical address range.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
LKML-Reference: <4C1AE6CD.1080704@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/ioremap.c