]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mm/hwpoison: introduce num_poisoned_pages wrappers
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Tue, 8 Sep 2015 22:03:24 +0000 (15:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Sep 2015 22:35:28 +0000 (15:35 -0700)
commit8e30456b6c56029ecbb43b777519175e478adfbf
treedf04df3e4f4d975d19acc0bf555fecd91b2e258d
parent665d9da7f0a9bd80b64d0024630806e45c7ff7d7
mm/hwpoison: introduce num_poisoned_pages wrappers

num_poisoned_pages counter will be changed outside mm/memory-failure.c
by a subsequent patch, so this patch prepares wrappers to manipulate it.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Tested-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/swapops.h
mm/memory-failure.c