The patch titled NOMMU: is_vmalloc_addr() won't compile if !MMU has been removed from the -mm tree. Its filename was nommu-is_vmalloc_addr-wont-compile-if-mmu.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: NOMMU: is_vmalloc_addr() won't compile if !MMU From: David Howells <dhowells@xxxxxxxxxx> Make is_vmalloc_addr() contingent on CONFIG_MMU=y, as it won't compile in !MMU mode (commit 9e2779fa281cfda13ac060753d674bbcaa23367e). Signed-off-by: David Howells <dhowells@xxxxxxxxxx> Cc: Greg Ungerer <gerg@xxxxxxxxxxxx> Cc: Christoph Lameter <clameter@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/mm.h | 2 ++ 1 file changed, 2 insertions(+) diff -puN include/linux/mm.h~nommu-is_vmalloc_addr-wont-compile-if-mmu include/linux/mm.h --- a/include/linux/mm.h~nommu-is_vmalloc_addr-wont-compile-if-mmu +++ a/include/linux/mm.h @@ -235,6 +235,7 @@ static inline int get_page_unless_zero(s struct page *vmalloc_to_page(const void *addr); unsigned long vmalloc_to_pfn(const void *addr); +#ifdef CONFIG_MMU /* Determine if an address is within the vmalloc range */ static inline int is_vmalloc_addr(const void *x) { @@ -242,6 +243,7 @@ static inline int is_vmalloc_addr(const return addr >= VMALLOC_START && addr < VMALLOC_END; } +#endif static inline struct page *compound_head(struct page *page) { _ Patches currently in -mm which might be from dhowells@xxxxxxxxxx are git-unionfs.patch ntp-make-the-kernel-ntp-code-hand-64-bit-unsigned-values-to-do_div.patch keys-increase-the-payload-size-when-instantiating-a-key.patch keys-check-starting-keyring-as-part-of-search.patch keys-allow-the-callout-data-to-be-passed-as-a-blob-rather-than-a-string.patch keys-add-keyctl-function-to-get-a-security-label.patch procfs-task-exe-symlink.patch procfs-task-exe-symlink-fix.patch procfs-task-exe-symlink-fix-2.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