Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751663AbWJFCWF (ORCPT ); Thu, 5 Oct 2006 22:22:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751665AbWJFCWF (ORCPT ); Thu, 5 Oct 2006 22:22:05 -0400 Received: from omx2-ext.sgi.com ([192.48.171.19]:57573 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S1751663AbWJFCWE (ORCPT ); Thu, 5 Oct 2006 22:22:04 -0400 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.1 From: Keith Owens To: linux-kernel@vger.kernel.org Subject: [patch 2.6.19-rc1] Fix do_mbind warning with CONFIG_MIGRATION=n Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 06 Oct 2006 12:21:18 +1000 Message-ID: <6526.1160101278@kao2.melbourne.sgi.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 951 Lines: 31 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 --- mm/mempolicy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/mm/mempolicy.c =================================================================== --- linux.orig/mm/mempolicy.c +++ linux/mm/mempolicy.c @@ -727,7 +727,7 @@ int do_migrate_pages(struct mm_struct *m return -ENOSYS; } -static struct page *new_vma_page(struct page *page, unsigned long private) +static struct page *new_vma_page(struct page *page, unsigned long private, int **x) { return NULL; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/