From: Boris Ostrovsky Date: Mon, 10 Oct 2011 08:09:17 +0000 (+0200) Subject: x86/AMD: Remove AMD_ERRATUM_400 definition X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=40b004d6ee858af7ad162ceb4d7f13be7ae2b129;p=xen.git x86/AMD: Remove AMD_ERRATUM_400 definition AMD_ERRATUM_400 was used to determine whether the processor supports Always Running APIC Counter (ARAT) feature in init_amd(). Now that ARAT support is based solely on family number this macro is no longer needed. Keep it in comments section as an example in case we ever need to use it for somethnig else. Signed-off-by: Boris Ostrovsky Committed-by: Jan Beulich --- diff --git a/xen/include/asm-x86/amd.h b/xen/include/asm-x86/amd.h index 283c172074..d7fb1a5b53 100644 --- a/xen/include/asm-x86/amd.h +++ b/xen/include/asm-x86/amd.h @@ -134,10 +134,6 @@ AMD_OSVW_ERRATUM(3, AMD_MODEL_RANGE(0x10, 0x2, 0x1, 0xff, 0xf), \ AMD_MODEL_RANGE(0x12, 0x0, 0x0, 0x1, 0x0)) -#define AMD_ERRATUM_400 \ - AMD_OSVW_ERRATUM(1, AMD_MODEL_RANGE(0xf, 0x41, 0x2, 0xff, 0xf), \ - AMD_MODEL_RANGE(0x10, 0x2, 0x1, 0xff, 0xf)) - struct cpuinfo_x86; int cpu_has_amd_erratum(const struct cpuinfo_x86 *, int, ...);