Re: mmotm 2010-02-03-20-09 uploaded (mmap.c)

From: Randy Dunlap
Date: Thu Feb 04 2010 - 13:15:07 EST


On 02/03/10 20:09, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
The mm-of-the-moment snapshot 2010-02-03-20-09 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

and will soon be available at

git://zen-kernel.org/kernel/mmotm.git

It contains the following patches against 2.6.33-rc6:


In some config cases, this patch seems to have a problem:
sysctl-clean-up-vm-related-variable-declarations.patch

In mm/mmap.c:
+#ifdef HAVE_ARCH_PICK_MMAP_LAYOUT
+/* Used by each architecture's private code and sysctl. */
+int sysctl_legacy_va_layout;
+#endif

mm/mmap.c:92: error: expected identifier or '(' before numeric constant

I guess that sometimes sysctl_legacy_va_layout is a #define:
from include/linux/mm.h:

#ifdef CONFIG_SYSCTL
extern int sysctl_legacy_va_layout;
#else
#define sysctl_legacy_va_layout 0
#endif

and indeed the failing builds do not have CONFIG_SYSCTL enabled.


--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/