diff options
author | Con Kolivas <kernel@kolivas.org> | 2006-06-23 11:03:42 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 16:42:51 +0200 |
commit | bd96b9eb7cfd6ab24ba244360a09980a720874d2 (patch) | |
tree | 9231d56e83f4ef43a6f664c2b416734318b92084 /mm | |
parent | [PATCH] sparsemem: record nid during memory present (diff) | |
download | linux-bd96b9eb7cfd6ab24ba244360a09980a720874d2.tar.xz linux-bd96b9eb7cfd6ab24ba244360a09980a720874d2.zip |
[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')
0 files changed, 0 insertions, 0 deletions