Skip to content

Commit 36257d5

Browse files
committed
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: feec24a ("mm, soft-offline: convert parameter to pfn") Signed-off-by: Helge Deller <[email protected]>
1 parent aeea5ea commit 36257d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/parisc/kernel/pdt.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,7 @@ static int pdt_mainloop(void *unused)
327327
((pde & PDT_ADDR_SINGLE_ERR) == 0))
328328
memory_failure(pde >> PAGE_SHIFT, 0);
329329
else
330-
soft_offline_page(
331-
pfn_to_page(pde >> PAGE_SHIFT), 0);
330+
soft_offline_page(pde >> PAGE_SHIFT, 0);
332331
#else
333332
pr_crit("PDT: memory error at 0x%lx ignored.\n"
334333
"Rebuild kernel with CONFIG_MEMORY_FAILURE=y "

0 commit comments

Comments
 (0)