]> git.baikalelectronics.ru Git - kernel.git/commit
mm: remove unevictable_migrate_page function
authorLee Schermerhorn <Lee.Schermerhorn@hp.com>
Tue, 15 Dec 2009 01:59:54 +0000 (17:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:23 +0000 (08:53 -0800)
commit376cabed36633af49597f8b68f5aa166e4b8ebcc
tree24a4354bfa3bda6c763b859c235669c939c97ce4
parent26fbc1d3bc6cfad18a1abb5df56ced8f6e196114
mm: remove unevictable_migrate_page function

unevictable_migrate_page() in mm/internal.h is a relic of the since
removed UNEVICTABLE_LRU Kconfig option.  This patch removes the function
and open codes the test in migrate_page_copy().

Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/internal.h
mm/migrate.c