From: Juergen Gross Date: Wed, 28 Jan 2015 06:44:25 +0000 (+0100) Subject: x86/xen: cleanup arch/x86/xen/mmu.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=270b79338eb1bd1eb28e62994ffa7b9ecd9975d8;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git x86/xen: cleanup arch/x86/xen/mmu.c Remove a nested ifdef. Signed-off-by: Juergen Gross Signed-off-by: David Vrabel --- diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 6a8bbf43e617..adca9e2b6553 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -1734,10 +1734,8 @@ static void __init xen_map_identity_early(pmd_t *pmd, unsigned long max_pfn) for (pteidx = 0; pteidx < PTRS_PER_PTE; pteidx++, pfn++) { pte_t pte; -#ifdef CONFIG_X86_32 if (pfn > max_pfn_mapped) max_pfn_mapped = pfn; -#endif if (!pte_none(pte_page[pteidx])) continue;