aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorYunfeng Ye <yeyunfeng@huawei.com>2019-11-30 17:53:41 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2019-12-01 12:59:04 -0800
commit7506851837350e112685ddf4d13ba03a558f9e20 (patch)
tree7c3ea46fcdaf0ce0e73446d257fb8fe8293504ad /mm/memory_hotplug.c
parentmm, soft-offline: convert parameter to pfn (diff)
downloadlinux-dev-7506851837350e112685ddf4d13ba03a558f9e20.tar.xz
linux-dev-7506851837350e112685ddf4d13ba03a558f9e20.zip
mm/memory-failure.c: use page_shift() in add_to_kill()
page_shift() is supported after the commit 94ad9338109f ("mm: introduce page_shift()"). So replace with page_shift() in add_to_kill() for readability. Link: http://lkml.kernel.org/r/543d8bc9-f2e7-3023-7c35-2e7ed67c0e82@huawei.com Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com> Reviewed-by: David Hildenbrand <david@redhat.com> Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions