On Thu, Jan 11, 2024 at 11:41:39PM +0000, jeffxu@xxxxxxxxxxxx wrote: > diff --git a/include/linux/mm.h b/include/linux/mm.h > index f5a97dec5169..345667583b03 100644 > --- a/include/linux/mm.h > +++ b/include/linux/mm.h > @@ -30,6 +30,7 @@ > #include <linux/kasan.h> > #include <linux/memremap.h> > #include <linux/slab.h> > +#include <uapi/linux/mman.h> I think the arm64 build failure is from this include -- it's happening too early and some of the arm defines aren't available yet? -Kees -- Kees Cook