enlighten.c (1809de7e7d37c585e01a1bcc583ea92b78fc759d) enlighten.c (c109bf95992b391bb40bc37c5d309d13fead99b5)
1/*
2 * Core of Xen paravirt_ops implementation.
3 *
4 * This file contains the xen_paravirt_ops structure itself, and the
5 * implementations for:
6 * - privileged instructions
7 * - interrupt flags
8 * - segment operations

--- 1458 unchanged lines hidden (view full) ---

1467 return;
1468 /*
1469 * For BSP, PSE PGE are set in probe_page_size_mask(), for APs
1470 * set them here. For all, OSFXSR OSXMMEXCPT are set in fpu__init_cpu().
1471 */
1472 if (cpu_has_pse)
1473 cr4_set_bits_and_update_boot(X86_CR4_PSE);
1474
1/*
2 * Core of Xen paravirt_ops implementation.
3 *
4 * This file contains the xen_paravirt_ops structure itself, and the
5 * implementations for:
6 * - privileged instructions
7 * - interrupt flags
8 * - segment operations

--- 1458 unchanged lines hidden (view full) ---

1467 return;
1468 /*
1469 * For BSP, PSE PGE are set in probe_page_size_mask(), for APs
1470 * set them here. For all, OSFXSR OSXMMEXCPT are set in fpu__init_cpu().
1471 */
1472 if (cpu_has_pse)
1473 cr4_set_bits_and_update_boot(X86_CR4_PSE);
1474
1475 if (cpu_has_pge)
1475 if (boot_cpu_has(X86_FEATURE_PGE))
1476 cr4_set_bits_and_update_boot(X86_CR4_PGE);
1477}
1478
1479/*
1480 * Note, that it is ref - because the only caller of this after init
1481 * is PVH which is not going to use xen_load_gdt_boot or other
1482 * __init functions.
1483 */

--- 428 unchanged lines hidden ---
1476 cr4_set_bits_and_update_boot(X86_CR4_PGE);
1477}
1478
1479/*
1480 * Note, that it is ref - because the only caller of this after init
1481 * is PVH which is not going to use xen_load_gdt_boot or other
1482 * __init functions.
1483 */

--- 428 unchanged lines hidden ---