|
|
@@ -75,7 +75,6 @@
|
|
|
#include <asm/mach_traps.h>
|
|
|
#include <asm/mwait.h>
|
|
|
#include <asm/pci_x86.h>
|
|
|
-#include <asm/pat.h>
|
|
|
#include <asm/cpu.h>
|
|
|
|
|
|
#ifdef CONFIG_ACPI
|
|
|
@@ -1511,7 +1510,6 @@ asmlinkage __visible void __init xen_start_kernel(void)
|
|
|
{
|
|
|
struct physdev_set_iopl set_iopl;
|
|
|
unsigned long initrd_start = 0;
|
|
|
- u64 pat;
|
|
|
int rc;
|
|
|
|
|
|
if (!xen_start_info)
|
|
|
@@ -1618,13 +1616,6 @@ asmlinkage __visible void __init xen_start_kernel(void)
|
|
|
xen_start_info->nr_pages);
|
|
|
xen_reserve_special_pages();
|
|
|
|
|
|
- /*
|
|
|
- * Modify the cache mode translation tables to match Xen's PAT
|
|
|
- * configuration.
|
|
|
- */
|
|
|
- rdmsrl(MSR_IA32_CR_PAT, pat);
|
|
|
- __init_cache_modes(pat);
|
|
|
-
|
|
|
/* keep using Xen gdt for now; no urgent need to change it */
|
|
|
|
|
|
#ifdef CONFIG_X86_32
|