Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[firefly-linux-kernel-4.4.55.git] / include / linux / swapops.h
index 831a3168ab35a6d985896186b74df1e5322d2c4f..cedf3d3c373f167681424772c4fe2255e17b73fd 100644 (file)
@@ -54,7 +54,7 @@ static inline pgoff_t swp_offset(swp_entry_t entry)
 /* check whether a pte points to a swap entry */
 static inline int is_swap_pte(pte_t pte)
 {
-       return !pte_none(pte) && !pte_present_nonuma(pte);
+       return !pte_none(pte) && !pte_present(pte);
 }
 #endif