summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/mmu.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2015-01-28 07:44:25 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2015-01-28 11:01:11 +0100
commit270b79338eb1bd1eb28e62994ffa7b9ecd9975d8 (patch)
tree82803574590010b3572582a9296c63c98ae0aae1 /arch/x86/xen/mmu.c
parentx86/xen: add some __init annotations in arch/x86/xen/mmu.c (diff)
downloadlinux-270b79338eb1bd1eb28e62994ffa7b9ecd9975d8.tar.xz
linux-270b79338eb1bd1eb28e62994ffa7b9ecd9975d8.zip
x86/xen: cleanup arch/x86/xen/mmu.c
Remove a nested ifdef. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/x86/xen/mmu.c')
-rw-r--r--arch/x86/xen/mmu.c2
1 files changed, 0 insertions, 2 deletions
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;