summaryrefslogtreecommitdiffstats
path: root/arch/x86
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 10:01:11 +0000
commit270b79338eb1bd1eb28e62994ffa7b9ecd9975d8 (patch)
tree82803574590010b3572582a9296c63c98ae0aae1 /arch/x86
parentbf9d834a9bc54477f3745ba0bf926c8917c45680 (diff)
downloadop-kernel-dev-270b79338eb1bd1eb28e62994ffa7b9ecd9975d8.zip
op-kernel-dev-270b79338eb1bd1eb28e62994ffa7b9ecd9975d8.tar.gz
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')
-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 6a8bbf4..adca9e2 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;
OpenPOWER on IntegriCloud