projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f093182
)
[IA64] MCA recovery: pfn_valid() needs a pfn
author
Russ Anderson
<rja@efs.americas.sgi.com>
Fri, 4 Nov 2005 19:57:00 +0000
(13:57 -0600)
committer
Tony Luck
<tony.luck@intel.com>
Tue, 8 Nov 2005 18:03:05 +0000
(10:03 -0800)
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>
arch/ia64/kernel/mca_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/ia64/kernel/mca_drv.c
b/arch/ia64/kernel/mca_drv.c
index f081c60ab20684234f3e815ef4e520cdd8d75de8..6ff32d4faf81b0a2bc5c52f093f605a7b38963b6 100644
(file)
--- 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 */