]> git.baikalelectronics.ru Git - kernel.git/commit
mm: add Set,ClearPageSwapCache stubs
authorHugh Dickins <hugh@veritas.com>
Tue, 6 Jan 2009 22:39:24 +0000 (14:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:02 +0000 (15:59 -0800)
commit25d4f609ce1d6ca0991c8b3f2606b47bfc460d60
tree26f77047b316dfc0879307fbfda84b15a199155f
parentdc54dcfceb3408901097ec18bd953af9229a6e9c
mm: add Set,ClearPageSwapCache stubs

If we add NOOP stubs for SetPageSwapCache() and ClearPageSwapCache(), then
we can remove the #ifdef CONFIG_SWAPs from mm/migrate.c.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Christoph Lameter <cl@linux-foundation.org>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/page-flags.h
mm/migrate.c