The patch titled NOMMU: Hide vm_mm in NOMMU mode has been added to the -mm tree. Its filename is nommu-hide-vm_mm-in-nommu-mode.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: NOMMU: Hide vm_mm in NOMMU mode From: David Howells <dhowells@xxxxxxxxxx> Hide struct vm_area_struct::vm_mm when in NOMMU mode as this isn't used there. Signed-off-by: David Howells <dhowells@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/mm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN include/linux/mm.h~nommu-hide-vm_mm-in-nommu-mode include/linux/mm.h --- a/include/linux/mm.h~nommu-hide-vm_mm-in-nommu-mode +++ a/include/linux/mm.h @@ -58,7 +58,9 @@ extern int sysctl_legacy_va_layout; * library, the executable area etc). */ struct vm_area_struct { - struct mm_struct * vm_mm; /* The address space we belong to. */ +#ifdef CONFIG_MMU + struct mm_struct *vm_mm; /* The address space we belong to. */ +#endif unsigned long vm_start; /* Our start address within vm_mm. */ unsigned long vm_end; /* The first byte after our end address within vm_mm. */ _ Patches currently in -mm which might be from dhowells@xxxxxxxxxx are origin.patch drivers-media-video-cpia_ppc-dont-use-_work_nar.patch nommu-present-backing-device-capabilities-for-mtd.patch nommu-present-backing-device-capabilities-for-mtd-fix.patch nommu-add-support-for-direct-mapping-through-mtdconcat.patch nommu-generalise-the-handling-of-mtd-specific-superblocks.patch nommu-make-it-possible-for-romfs-to-use-mtd-devices.patch nommu-hide-vm_mm-in-nommu-mode.patch doc-atomic_add_unless-doesnt-imply-mb-on-failure.patch kill-net-rxrpc-rxrpc_symsc.patch use-symbolic-constants-in-generic-lseek-code.patch use-use-seek_max-to-validate-user-lseek-arguments.patch kconfig-centralize-the-selection-of-semaphore-debugging.patch aio-use-flush_work.patch kblockd-use-flush_work.patch relayfs-use-flush_keventd_work.patch tg3-use-flush_keventd_work.patch e1000-use-flush_keventd_work.patch libata-use-flush_work.patch phy-use-flush_work.patch workqueue-kill-noautorel-works.patch mutex-subsystem-synchro-test-module.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html