From: Hugh Dickins <hugh@veritas.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: David Rientjes <rientjes@google.com>, linux-kernel@vger.kernel.org
Subject: [PATCH rc5-mm1] shmem mpol: fix build warning
Date: Tue, 11 Mar 2008 21:08:41 +0000 (GMT) [thread overview]
Message-ID: <Pine.LNX.4.64.0803112106290.17067@blonde.site> (raw)
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;
}
reply other threads:[~2008-03-11 21:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0803112106290.17067@blonde.site \
--to=hugh@veritas.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rientjes@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®