]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
mm/zswap.c: get swapper address_space by using macro
authorSunghan Suh <sunghan.suh@samsung.com>
Wed, 11 Sep 2013 21:20:22 +0000 (14:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:57:08 +0000 (15:57 -0700)
commit822518dc56810a0de44cff0f85a227268818749c
treefc774decccb4b9f14356a629aafc7fb3f93d3775
parente86867720e617774b560dfbc169b7f3d0d490950
mm/zswap.c: get swapper address_space by using macro

There is a proper macro to get the corresponding swapper address space
from a swap entry.  Instead of directly accessing "swapper_spaces" array,
use the "swap_address_space" macro.

Signed-off-by: Sunghan Suh <sunghan.suh@samsung.com>
Reviewed-by: Bob Liu <bob.liu@oracle.com>
Reviewed-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/zswap.c