diff options
author | Sunghan Suh <sunghan.suh@samsung.com> | 2013-09-11 23:20:22 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 00:57:08 +0200 |
commit | 822518dc56810a0de44cff0f85a227268818749c (patch) | |
tree | fc774decccb4b9f14356a629aafc7fb3f93d3775 /kernel/sched | |
parent | mm: mmap_region: kill correct_wcount/inode, use allow_write_access() (diff) | |
download | linux-822518dc56810a0de44cff0f85a227268818749c.tar.xz linux-822518dc56810a0de44cff0f85a227268818749c.zip |
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>
Diffstat (limited to 'kernel/sched')
0 files changed, 0 insertions, 0 deletions