diff options
author | Russ Anderson <rja@efs.americas.sgi.com> | 2005-11-04 13:57:00 -0600 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-11-08 10:03:05 -0800 |
commit | 56f87b82171245a81a5dbac5e703d3941d80da49 (patch) | |
tree | 02358b9d2cf644fb761b0691cdc386a133c4a676 | |
parent | f093182d313edde9b1f86dbdaf40ba4da2dbd0e7 (diff) | |
download | linux-56f87b82171245a81a5dbac5e703d3941d80da49.tar.gz linux-56f87b82171245a81a5dbac5e703d3941d80da49.tar.bz2 linux-56f87b82171245a81a5dbac5e703d3941d80da49.zip |
[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>
-rw-r--r-- | arch/ia64/kernel/mca_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/mca_drv.c b/arch/ia64/kernel/mca_drv.c index f081c60ab206..6ff32d4faf81 100644 --- a/arch/ia64/kernel/mca_drv.c +++ b/arch/ia64/kernel/mca_drv.c @@ -88,7 +88,7 @@ mca_page_isolate(unsigned long paddr) if (!ia64_phys_addr_valid(paddr)) return ISOLATE_NONE; - if (!pfn_valid(paddr)) + if (!pfn_valid(paddr >> PAGE_SHIFT)) return ISOLATE_NONE; /* convert physical address to physical page number */ |