]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - mm/madvise.c
mm: nobootmem: remove bootmem allocation APIs
[linux.git] / mm / madvise.c
index 71d21df2a3f362cc370c8ff158fb03dfa9d2d03c..6cb1ca93e290743144567bb64ae3c87894aa1f5d 100644 (file)
@@ -251,7 +251,7 @@ static void force_shm_swapin_readahead(struct vm_area_struct *vma,
                index = ((start - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff;
 
                page = find_get_entry(mapping, index);
-               if (!radix_tree_exceptional_entry(page)) {
+               if (!xa_is_value(page)) {
                        if (page)
                                put_page(page);
                        continue;