diff --git a/mm/mmap.c b/mm/mmap.c index 95985998e1c0..429e2050fa70 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -225,10 +225,10 @@ out: */ static inline unsigned long round_hint_to_min(unsigned long hint) { - hint &= PAGE_MASK; + hint &= __PAGE_MASK; if (((void *)hint != NULL) && (hint < mmap_min_addr)) - return PAGE_ALIGN(mmap_min_addr); + return __PAGE_ALIGN(mmap_min_addr); return hint; }