diff options
author | Russ Anderson <rja@efs.americas.sgi.com> | 2005-11-04 20:57:00 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-11-08 19:03:05 +0100 |
commit | 56f87b82171245a81a5dbac5e703d3941d80da49 (patch) | |
tree | 02358b9d2cf644fb761b0691cdc386a133c4a676 /arch/ia64/kernel/mca_drv.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge (diff) | |
download | linux-56f87b82171245a81a5dbac5e703d3941d80da49.tar.xz 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>
Diffstat (limited to 'arch/ia64/kernel/mca_drv.c')
-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 */ |