mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-14 17:35:42 +00:00
parisc: soft_offline_page() now takes the pfn
Switch page deallocation table (pdt) driver to use pfn instead of a page pointer in soft_offline_page(). Fixes: feec24a6139d ("mm, soft-offline: convert parameter to pfn") Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
aeea5eae4f
commit
36257d5580
@ -327,8 +327,7 @@ static int pdt_mainloop(void *unused)
|
|||||||
((pde & PDT_ADDR_SINGLE_ERR) == 0))
|
((pde & PDT_ADDR_SINGLE_ERR) == 0))
|
||||||
memory_failure(pde >> PAGE_SHIFT, 0);
|
memory_failure(pde >> PAGE_SHIFT, 0);
|
||||||
else
|
else
|
||||||
soft_offline_page(
|
soft_offline_page(pde >> PAGE_SHIFT, 0);
|
||||||
pfn_to_page(pde >> PAGE_SHIFT), 0);
|
|
||||||
#else
|
#else
|
||||||
pr_crit("PDT: memory error at 0x%lx ignored.\n"
|
pr_crit("PDT: memory error at 0x%lx ignored.\n"
|
||||||
"Rebuild kernel with CONFIG_MEMORY_FAILURE=y "
|
"Rebuild kernel with CONFIG_MEMORY_FAILURE=y "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user