diff --git a/mm/mseal.c b/mm/mseal.c index 81d6e980e8a9..0e0531ee0042 100644 --- a/mm/mseal.c +++ b/mm/mseal.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include "internal.h" @@ -222,10 +223,10 @@ int do_mseal(unsigned long start, size_t len_in, unsigned long flags) return ret; start = untagged_addr(start); - if (!PAGE_ALIGNED(start)) + if (!__PAGE_ALIGNED(start)) return -EINVAL; - len = PAGE_ALIGN(len_in); + len = __PAGE_ALIGN(len_in); /* Check to see whether len was rounded up from small -ve to zero. */ if (len_in && !len) return -EINVAL;