[IA64] MCA recovery: pfn_valid() needs a pfn

paddr needs to be shifted by PAGE_SHIFT to be valid
input for pfn_valid().

Signed-off-by: Russ Anderson <rja@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
Russ Anderson 2005-11-04 13:57:00 -06:00 committed by Tony Luck
parent f093182d31
commit 56f87b8217
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ mca_page_isolate(unsigned long paddr)
if (!ia64_phys_addr_valid(paddr)) if (!ia64_phys_addr_valid(paddr))
return ISOLATE_NONE; return ISOLATE_NONE;
if (!pfn_valid(paddr)) if (!pfn_valid(paddr >> PAGE_SHIFT))
return ISOLATE_NONE; return ISOLATE_NONE;
/* convert physical address to physical page number */ /* convert physical address to physical page number */