* [PATCH] Shmem: compilation fix for !NUMA case
@ 2008-03-13 11:32 Pavel Emelyanov
0 siblings, 0 replies; only message in thread
From: Pavel Emelyanov @ 2008-03-13 11:32 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linux Kernel Mailing List
The shmem_parse_mpol stub's 3rd argument is a pointer on flags:
CC mm/shmem.o
mm/shmem.c: In function ‘shmem_parse_options’:
mm/shmem.c:2228: warning: passing argument 3 of ‘shmem_parse_mpol’ makes integer from pointer without a cast
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
---
mm/shmem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/shmem.c b/mm/shmem.c
index 281f6c2..e40f56d 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -1215,7 +1215,7 @@ static struct page *shmem_alloc_page(gfp_t 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 *flags, nodemask_t *policy_nodes)
{
return 1;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-13 11:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-13 11:32 [PATCH] Shmem: compilation fix for !NUMA case Pavel Emelyanov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.