diff options
author | Ingo Molnar <mingo@kernel.org> | 2016-04-13 05:36:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-04-13 05:36:19 -0400 |
commit | d8d1c35139481ee8e292d91cd3fd35a6b3a316eb (patch) | |
tree | 0a06b6c185e91bf14b22e7f526755e2ca80209bf /arch/x86/xen/enlighten.c | |
parent | cb44d0cfc2969999a4d9e20e4fd8749fec6c5498 (diff) | |
parent | 1886297ce0c8d563a08c8a8c4c0b97743e06cd37 (diff) |
Merge branch 'x86/mm' into x86/asm to resolve conflict and to create common base
Conflicts:
arch/x86/include/asm/cpufeature.h
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index ff2a2e6ef7af..9b8f1eacc110 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -75,7 +75,6 @@ | |||
75 | #include <asm/mach_traps.h> | 75 | #include <asm/mach_traps.h> |
76 | #include <asm/mwait.h> | 76 | #include <asm/mwait.h> |
77 | #include <asm/pci_x86.h> | 77 | #include <asm/pci_x86.h> |
78 | #include <asm/pat.h> | ||
79 | #include <asm/cpu.h> | 78 | #include <asm/cpu.h> |
80 | 79 | ||
81 | #ifdef CONFIG_ACPI | 80 | #ifdef CONFIG_ACPI |
@@ -1511,7 +1510,6 @@ asmlinkage __visible void __init xen_start_kernel(void) | |||
1511 | { | 1510 | { |
1512 | struct physdev_set_iopl set_iopl; | 1511 | struct physdev_set_iopl set_iopl; |
1513 | unsigned long initrd_start = 0; | 1512 | unsigned long initrd_start = 0; |
1514 | u64 pat; | ||
1515 | int rc; | 1513 | int rc; |
1516 | 1514 | ||
1517 | if (!xen_start_info) | 1515 | if (!xen_start_info) |
@@ -1618,13 +1616,6 @@ asmlinkage __visible void __init xen_start_kernel(void) | |||
1618 | xen_start_info->nr_pages); | 1616 | xen_start_info->nr_pages); |
1619 | xen_reserve_special_pages(); | 1617 | xen_reserve_special_pages(); |
1620 | 1618 | ||
1621 | /* | ||
1622 | * Modify the cache mode translation tables to match Xen's PAT | ||
1623 | * configuration. | ||
1624 | */ | ||
1625 | rdmsrl(MSR_IA32_CR_PAT, pat); | ||
1626 | pat_init_cache_modes(pat); | ||
1627 | |||
1628 | /* keep using Xen gdt for now; no urgent need to change it */ | 1619 | /* keep using Xen gdt for now; no urgent need to change it */ |
1629 | 1620 | ||
1630 | #ifdef CONFIG_X86_32 | 1621 | #ifdef CONFIG_X86_32 |