--- a/include/linux/mempolicy.h~mm-dont-include-linux-daxh-in-linux-mempolicyh +++ a/include/linux/mempolicy.h @@ -8,7 +8,6 @@ #include <linux/sched.h> #include <linux/mmzone.h> -#include <linux/dax.h> #include <linux/slab.h> #include <linux/rbtree.h> #include <linux/spinlock.h> --- a/mm/memory-failure.c~mm-dont-include-linux-daxh-in-linux-mempolicyh +++ a/mm/memory-failure.c @@ -39,6 +39,7 @@ #include <linux/kernel-page-flags.h> #include <linux/sched/signal.h> #include <linux/sched/task.h> +#include <linux/dax.h> #include <linux/ksm.h> #include <linux/rmap.h> #include <linux/export.h>