]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mm/hwpoison: replace atomic_long_sub() with atomic_long_dec()
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Wed, 11 Sep 2013 21:22:54 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:09 +0000 (15:58 -0700)
commitdd9538a597f9ccd9a65be1cc3f71059a12b5b4ff
treed0c4c915b7dc9d38632587964c732cf7f54eff85
parent0cea3fdc416d593072c602725ed2ca02b889f31b
mm/hwpoison: replace atomic_long_sub() with atomic_long_dec()

Replace atomic_long_sub() with atomic_long_dec() since the page is normal
page instead of hugetlbfs page or thp.

Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory-failure.c