diff options
author | Keith Owens <kaos@ocs.com.au> | 2006-10-11 04:21:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 14:14:19 -0400 |
commit | 699397499742d1245ea5d677a08fa265df666d2d (patch) | |
tree | 81e9971ff13fcadb6ea8ab12f55278c30bdff1a2 /mm/mempolicy.c | |
parent | b16bc64d1aed40fb9cff9187061005b2a89b5d5d (diff) |
[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>
Diffstat (limited to 'mm/mempolicy.c')
-rw-r--r-- | mm/mempolicy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 25788b1b7fcf..617fb31086ee 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c | |||
@@ -727,7 +727,7 @@ int do_migrate_pages(struct mm_struct *mm, | |||
727 | return -ENOSYS; | 727 | return -ENOSYS; |
728 | } | 728 | } |
729 | 729 | ||
730 | static struct page *new_vma_page(struct page *page, unsigned long private) | 730 | static struct page *new_vma_page(struct page *page, unsigned long private, int **x) |
731 | { | 731 | { |
732 | return NULL; | 732 | return NULL; |
733 | } | 733 | } |