* [PATCH rc5-mm1] shmem mpol: fix build warning
@ 2008-03-11 21:08 Hugh Dickins
0 siblings, 0 replies; only message in thread
From: Hugh Dickins @ 2008-03-11 21:08 UTC (permalink / raw)
To: Andrew Morton; +Cc: David Rientjes, linux-kernel
Fix #ifndef CONFIG_NUMA build warning on shmem_parse_mpol
arising from mempolicy-support-optional-mode-flags.patch
Signed-off-by: Hugh Dickins <hugh@veritas.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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-11 21:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-11 21:08 [PATCH rc5-mm1] shmem mpol: fix build warning Hugh Dickins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®