include/linux/migrate.h: remove migrate_page #define
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 9 Oct 2014 22:27:59 +0000 (15:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:56 +0000 (22:25 -0400)
commit1c93923cc264105418e6ead149c76bd88302eff4
tree1862aef87b2636d01b55f4ccbac7542fbe016060
parentdd6eecb917938c1b7e505a83df307b3476e7c8bd
include/linux/migrate.h: remove migrate_page #define

This is designed to avoid a few ifdefs in .c files but it's obnoxious
because it can cause unsuspecting "migrate_page" symbols to get turned into
"NULL".

Just nuke it and use the ifdefs.

Cc: Konstantin Khlebnikov <k.khlebnikov@samsung.com>
Cc: Rafael Aquini <aquini@redhat.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
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/migrate.h
mm/shmem.c
mm/swap_state.c