|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] xen mtrr: Use specific cpu_has_foo macros instead of
From: Mark McLoughlin <markmc@xxxxxxxxxx>
Signed-off-by: Mark McLoughlin <markmc@xxxxxxxxxx>
---
arch/x86/kernel/cpu/mtrr/xen.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/arch/x86/kernel/cpu/mtrr/xen.c b/arch/x86/kernel/cpu/mtrr/xen.c
index db3ef39..e03532c 100644
--- a/arch/x86/kernel/cpu/mtrr/xen.c
+++ b/arch/x86/kernel/cpu/mtrr/xen.c
@@ -44,15 +44,13 @@ static int __init xen_num_var_ranges(void)
void __init xen_init_mtrr(void)
{
- struct cpuinfo_x86 *c = &boot_cpu_data;
-
if (!xen_initial_domain())
return;
- if ((!cpu_has(c, X86_FEATURE_MTRR)) &&
- (!cpu_has(c, X86_FEATURE_K6_MTRR)) &&
- (!cpu_has(c, X86_FEATURE_CYRIX_ARR)) &&
- (!cpu_has(c, X86_FEATURE_CENTAUR_MCR)))
+ if (!cpu_has_mtrr &&
+ !cpu_has_k6_mtrr &&
+ !cpu_has_cyrix_arr &&
+ !cpu_has_centaur_mcr)
return;
mtrr_if = &xen_mtrr_ops;
--
1.6.0.6
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] xen dom0: Make hvc_xen console work for dom0., (continued)
- [Xen-devel] [PATCH] xen dom0: Make hvc_xen console work for dom0., Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen: disable PAT, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen dom0: Add support for the platform_ops hypercall, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen mtrr: Add mtrr_ops support for Xen mtrr, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] paravirt/xen: add pvop for page_is_ram, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen/dom0: add XEN_DOM0 config option, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen: clear reserved bits in l3 entries given in the initial pagetables, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen/dom0: use _PAGE_IOMAP in ioremap to do machine mappings, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen/dom0: Use host E820 map, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen mtrr: Kill some unneccessary includes, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen mtrr: Use specific cpu_has_foo macros instead of generic cpu_has(),
Jeremy Fitzhardinge <=
- [Xen-devel] [PATCH] xen: implement XENMEM_machphys_mapping, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen mtrr: Use generic_validate_add_page(), Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen mtrr: Implement xen_get_free_region(), Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen mtrr: Add xen_{get, set}_mtrr() implementations, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen: allow enable use of VGA console on dom0, Jeremy Fitzhardinge
- Re: [Xen-devel] [PATCH] xen: core dom0 support, Boris Derzhavets
- Message not available
|
|
|
|
|