]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/x86/include/asm/pgtable-2level.h
x86: unify pte_none
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / include / asm / pgtable-2level.h
index e0d199fe1d83896578421d79aac509ebd843fdf3..c1774ac9da7a90f30dd47da6ac99e7b9b98494fd 100644 (file)
@@ -53,8 +53,6 @@ static inline pte_t native_ptep_get_and_clear(pte_t *xp)
 #define native_ptep_get_and_clear(xp) native_local_ptep_get_and_clear(xp)
 #endif
 
-#define pte_none(x)            (!(x).pte_low)
-
 /*
  * Bits _PAGE_BIT_PRESENT, _PAGE_BIT_FILE and _PAGE_BIT_PROTNONE are taken,
  * split up the 29 bits of offset into this range: