[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0803112106290.17067@blonde.site>
Date: Tue, 11 Mar 2008 21:08:41 +0000 (GMT)
From: Hugh Dickins <hugh@...itas.com>
To: Andrew Morton <akpm@...ux-foundation.org>
cc: David Rientjes <rientjes@...gle.com>, linux-kernel@...r.kernel.org
Subject: [PATCH rc5-mm1] shmem mpol: fix build warning
Fix #ifndef CONFIG_NUMA build warning on shmem_parse_mpol
arising from mempolicy-support-optional-mode-flags.patch
Signed-off-by: Hugh Dickins <hugh@...itas.com>
---
mm/shmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 2.6.25-rc5-mm1/mm/shmem.c 2008-03-11 14:19:36.000000000 +0000
+++ linux/mm/shmem.c 2008-03-11 16:45:37.000000000 +0000
@@ -1215,7 +1215,7 @@ static struct page *shmem_alloc_page(gfp
#else /* !CONFIG_NUMA */
#ifdef CONFIG_TMPFS
static inline int shmem_parse_mpol(char *value, unsigned short *policy,
- unsigned short flags, nodemask_t *policy_nodes)
+ unsigned short *mode_flags, nodemask_t *policy_nodes)
{
return 1;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists