The patch titled Subject: mm: avoid CONFIG_MMU=n build failure in pmd_none_or_trans_huge_or_clear_bad has been removed from the -mm tree. Its filename was mm-thp-fix-pmd_bad-triggering-in-code-paths-holding-mmap_sem-read-mode-fix.patch This patch was dropped because it was folded into mm-thp-fix-pmd_bad-triggering-in-code-paths-holding-mmap_sem-read-mode.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Andrea Arcangeli <aarcange@xxxxxxxxxx> Subject: mm: avoid CONFIG_MMU=n build failure in pmd_none_or_trans_huge_or_clear_bad pmd_none_or_trans_huge_or_clear_bad must be defined after pmd_trans_huge, so add #ifdef CONFIG_MMU around the whole block that shall not be needed for archs without pagetables. Signed-off-by: Andrea Arcangeli <aarcange@xxxxxxxxxx> Reported-by: Mark Salter <msalter@xxxxxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/asm-generic/pgtable.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff -puN include/asm-generic/pgtable.h~mm-thp-fix-pmd_bad-triggering-in-code-paths-holding-mmap_sem-read-mode-fix include/asm-generic/pgtable.h --- a/include/asm-generic/pgtable.h~mm-thp-fix-pmd_bad-triggering-in-code-paths-holding-mmap_sem-read-mode-fix +++ a/include/asm-generic/pgtable.h @@ -426,6 +426,8 @@ extern void untrack_pfn_vma(struct vm_ar unsigned long size); #endif +#ifdef CONFIG_MMU + #ifndef CONFIG_TRANSPARENT_HUGEPAGE static inline int pmd_trans_huge(pmd_t pmd) { @@ -442,7 +444,7 @@ static inline int pmd_write(pmd_t pmd) return 0; } #endif /* __HAVE_ARCH_PMD_WRITE */ -#endif +#endif /* CONFIG_TRANSPARENT_HUGEPAGE */ /* * This function is meant to be used by sites walking pagetables with @@ -501,6 +503,8 @@ static inline int pmd_trans_unstable(pmd #endif } +#endif /* CONFIG_MMU */ + #endif /* !__ASSEMBLY__ */ #endif /* _ASM_GENERIC_PGTABLE_H */ _ Patches currently in -mm which might be from aarcange@xxxxxxxxxx are mm-thp-fix-pmd_bad-triggering-in-code-paths-holding-mmap_sem-read-mode.patch vmscan-reclaim-at-order-0-when-compaction-is-enabled.patch vmscan-kswapd-carefully-call-compaction.patch vmscan-only-defer-compaction-for-failed-order-and-higher.patch mm-compaction-make-compact_control-order-signed.patch hugetlbfs-fix-hugetlb_get_unmapped_area.patch hugetlb-try-to-search-again-if-it-is-really-needed.patch mm-do-not-reset-cached_hole_size-when-vma-is-unmapped.patch mm-search-from-free_area_cache-for-the-bigger-size.patch pagemap-avoid-splitting-thp-when-reading-proc-pid-pagemap.patch thp-optimize-away-unnecessary-page-table-locking.patch pagemap-export-kpf_thp.patch pagemap-document-kpf_thp-and-make-page-types-aware-of-it.patch pagemap-introduce-data-structure-for-pagemap-entry.patch mm-hugetlb-defer-freeing-pages-when-gathering-surplus-pages.patch thp-transparent_hugepage=-can-also-be-specified-on-cmdline.patch thp-allow-a-hwpoisoned-head-page-to-be-put-back-to-lru.patch ksm-cleanup-introduce-find_mergeable_vma.patch numa_emulation-fix-cpumask_of_node.patch memcg-remove-unnecessary-thp-check-in-page-stat-accounting.patch memcg-clean-up-existing-move-charge-code.patch thp-add-hpage_pmd_-definitions-for-config_transparent_hugepage.patch memcg-avoid-thp-split-in-task-migration.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