From: Ingo Molnar Date: Fri, 13 Feb 2009 12:15:55 +0000 (+0100) Subject: x86 headers: remove duplicate pud_large() definition X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=999c7880cc8eeb0cbe6610b8c6d0ab0ec51cd848;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git x86 headers: remove duplicate pud_large() definition Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index 62024ff897d9..1c097a3a6669 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h @@ -387,13 +387,6 @@ static inline unsigned long pages_to_mb(unsigned long npg) #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ remap_pfn_range(vma, vaddr, pfn, size, prot) -#if PAGETABLE_LEVELS == 2 -static inline int pud_large(pud_t pud) -{ - return 0; -} -#endif - #if PAGETABLE_LEVELS > 2 static inline int pud_none(pud_t pud) {