aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pgtable-3level.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/pgtable-3level.h')
-rw-r--r--arch/x86/include/asm/pgtable-3level.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h
index 7ad9d05710b1..b92524eec202 100644
--- a/arch/x86/include/asm/pgtable-3level.h
+++ b/arch/x86/include/asm/pgtable-3level.h
@@ -23,11 +23,6 @@ static inline int pud_none(pud_t pud)
23 return pud_val(pud) == 0; 23 return pud_val(pud) == 0;
24} 24}
25 25
26static inline int pud_bad(pud_t pud)
27{
28 return (pud_val(pud) & ~(PTE_PFN_MASK | _KERNPG_TABLE | _PAGE_USER)) != 0;
29}
30
31/* Rules for using set_pte: the pte being assigned *must* be 26/* Rules for using set_pte: the pte being assigned *must* be
32 * either not present or in a state where the hardware will 27 * either not present or in a state where the hardware will
33 * not attempt to update the pte. In places where this is 28 * not attempt to update the pte. In places where this is