[PATCH] Fix do_mbind warning with CONFIG_MIGRATION=n
authorKeith Owens <kaos@ocs.com.au>
Wed, 11 Oct 2006 08:21:28 +0000 (01:21 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:14:19 +0000 (11:14 -0700)
commit699397499742d1245ea5d677a08fa265df666d2d
tree81e9971ff13fcadb6ea8ab12f55278c30bdff1a2
parentb16bc64d1aed40fb9cff9187061005b2a89b5d5d
[PATCH] Fix do_mbind warning with CONFIG_MIGRATION=n

With CONFIG_MIGRATION=n

mm/mempolicy.c: In function 'do_mbind':
mm/mempolicy.c:796: warning: passing argument 2 of 'migrate_pages' from incompatible pointer type

Signed-off-by: Keith Owens <kaos@ocs.com.au>
Cc: Christoph Lameter <clameter@engr.sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c