diff options
-rw-r--r-- | arch/x86/xen/enlighten.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 39928d16be3b..c8e1c7b95c3b 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -67,6 +67,7 @@ | |||
67 | #include <asm/hypervisor.h> | 67 | #include <asm/hypervisor.h> |
68 | #include <asm/mwait.h> | 68 | #include <asm/mwait.h> |
69 | #include <asm/pci_x86.h> | 69 | #include <asm/pci_x86.h> |
70 | #include <asm/pat.h> | ||
70 | 71 | ||
71 | #ifdef CONFIG_ACPI | 72 | #ifdef CONFIG_ACPI |
72 | #include <linux/acpi.h> | 73 | #include <linux/acpi.h> |
@@ -1417,7 +1418,14 @@ asmlinkage void __init xen_start_kernel(void) | |||
1417 | */ | 1418 | */ |
1418 | acpi_numa = -1; | 1419 | acpi_numa = -1; |
1419 | #endif | 1420 | #endif |
1420 | 1421 | #ifdef CONFIG_X86_PAT | |
1422 | /* | ||
1423 | * For right now disable the PAT. We should remove this once | ||
1424 | * git commit 8eaffa67b43e99ae581622c5133e20b0f48bcef1 | ||
1425 | * (xen/pat: Disable PAT support for now) is reverted. | ||
1426 | */ | ||
1427 | pat_enabled = 0; | ||
1428 | #endif | ||
1421 | /* Don't do the full vcpu_info placement stuff until we have a | 1429 | /* Don't do the full vcpu_info placement stuff until we have a |
1422 | possible map and a non-dummy shared_info. */ | 1430 | possible map and a non-dummy shared_info. */ |
1423 | per_cpu(xen_vcpu, 0) = &HYPERVISOR_shared_info->vcpu_info[0]; | 1431 | per_cpu(xen_vcpu, 0) = &HYPERVISOR_shared_info->vcpu_info[0]; |