Skip to content

Commit 344485a

Browse files
jbeulichbostrovs
authored andcommitted
xen/x86: there's no highmem anymore in PV mode
Considerations for it are a leftover from when 32-bit was still supported. Signed-off-by: Jan Beulich <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Boris Ostrovsky <[email protected]>
1 parent d2a3ef4 commit 344485a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/x86/xen/setup.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,6 @@ static void __init xen_update_mem_tables(unsigned long pfn, unsigned long mfn)
306306
BUG();
307307
}
308308

309-
/* Update kernel mapping, but not for highmem. */
310-
if (pfn >= PFN_UP(__pa(high_memory - 1)))
311-
return;
312-
313309
if (HYPERVISOR_update_va_mapping((unsigned long)__va(pfn << PAGE_SHIFT),
314310
mfn_pte(mfn, PAGE_KERNEL), 0)) {
315311
WARN(1, "Failed to update kernel mapping for mfn=%ld pfn=%ld\n",

0 commit comments

Comments
 (0)