Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[platform/kernel/linux-rpi.git] / mm / mincore.c
index fc37afe..4985965 100644 (file)
@@ -66,7 +66,7 @@ static unsigned char mincore_page(struct address_space *mapping, pgoff_t pgoff)
                 * shmem/tmpfs may return swap: account for swapcache
                 * page too.
                 */
-               if (radix_tree_exceptional_entry(page)) {
+               if (xa_is_value(page)) {
                        swp_entry_t swp = radix_to_swp_entry(page);
                        page = find_get_page(swap_address_space(swp),
                                             swp_offset(swp));