diff options
author | Helge Deller <deller@gmx.de> | 2019-12-20 21:46:17 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2019-12-20 21:47:00 +0300 |
commit | 36257d5580419b28bd42de47d20400b04fc1dd2c (patch) | |
tree | d6dac91f21bb07406c9d9a789a24d698e3423cee /arch | |
parent | aeea5eae4fd54e94d820ed17ea3b238160be723e (diff) | |
download | linux-36257d5580419b28bd42de47d20400b04fc1dd2c.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/pdt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/parisc/kernel/pdt.c b/arch/parisc/kernel/pdt.c index 36434d4da381..749c4579db0d 100644 --- a/arch/parisc/kernel/pdt.c +++ b/arch/parisc/kernel/pdt.c @@ -327,8 +327,7 @@ static int pdt_mainloop(void *unused) ((pde & PDT_ADDR_SINGLE_ERR) == 0)) memory_failure(pde >> PAGE_SHIFT, 0); else - soft_offline_page( - pfn_to_page(pde >> PAGE_SHIFT), 0); + soft_offline_page(pde >> PAGE_SHIFT, 0); #else pr_crit("PDT: memory error at 0x%lx ignored.\n" "Rebuild kernel with CONFIG_MEMORY_FAILURE=y " |