diff options
Diffstat (limited to 'arch/x86/include/asm/pgtable.h')
-rw-r--r-- | arch/x86/include/asm/pgtable.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index 06bbcbd66e9c..841e573b27fe 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h | |||
@@ -429,6 +429,11 @@ static inline void __init paravirt_pagetable_setup_done(pgd_t *base) | |||
429 | } | 429 | } |
430 | #endif /* CONFIG_PARAVIRT */ | 430 | #endif /* CONFIG_PARAVIRT */ |
431 | 431 | ||
432 | static inline int pte_none(pte_t pte) | ||
433 | { | ||
434 | return !pte.pte; | ||
435 | } | ||
436 | |||
432 | #endif /* __ASSEMBLY__ */ | 437 | #endif /* __ASSEMBLY__ */ |
433 | 438 | ||
434 | #ifdef CONFIG_X86_32 | 439 | #ifdef CONFIG_X86_32 |