lkml.org 
[lkml]   [2008]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@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;
}

\
 
 \ /
  Last update: 2008-03-11 22:13    [W:0.023 / U:1.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site