summaryrefslogtreecommitdiffstats
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorJoonsoo Kim2013-09-11 23:21:29 +0200
committerLinus Torvalds2013-09-12 00:57:31 +0200
commitd2cf5ad6312ca9913464fac40fb47ba47ad945c4 (patch)
tree05590c6fed5ee9b86b65e1c23a899e921faeb040 /mm/vmstat.c
parentmm: move pgtable related functions to right place (diff)
downloadkernel-qcow2-linux-d2cf5ad6312ca9913464fac40fb47ba47ad945c4.tar.gz
kernel-qcow2-linux-d2cf5ad6312ca9913464fac40fb47ba47ad945c4.tar.xz
kernel-qcow2-linux-d2cf5ad6312ca9913464fac40fb47ba47ad945c4.zip
swap: clean-up #ifdef in page_mapping()
PageSwapCache() is always false when !CONFIG_SWAP, so compiler properly discard related code. Therefore, we don't need #ifdef explicitly. Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Minchan Kim <minchan@kernel.org> Cc: Mel Gorman <mgorman@suse.de> Cc: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions