aboutsummaryrefslogtreecommitdiff
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorCon Kolivas <kernel@kolivas.org>2006-06-23 02:03:42 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-23 07:42:51 -0700
commitbd96b9eb7cfd6ab24ba244360a09980a720874d2 (patch)
tree9231d56e83f4ef43a6f664c2b416734318b92084 /mm/mmap.c
parent30c253e6da655d73eb8bfe2adca9b8f4d82fb81e (diff)
[PATCH] mm: fix swap unused warning
If CONFIG_SWAP is not defined we get: mm/vmscan.c: In function ‘remove_mapping’: mm/vmscan.c:387: warning: unused variable ‘swap’ Convert defines in swap.h into blank inline functions to fix this warning and be consistent. Signed-off-by: Con Kolivas <kernel@kolivas.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions