x86/AMD: Remove AMD_ERRATUM_400 definition
authorBoris Ostrovsky <boris.ostrovsky@amd.com>
Mon, 10 Oct 2011 08:09:17 +0000 (10:09 +0200)
committerBoris Ostrovsky <boris.ostrovsky@amd.com>
Mon, 10 Oct 2011 08:09:17 +0000 (10:09 +0200)
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 <boris.ostrovsky@amd.com>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/amd.h

index 283c17207468b80c0e876bf1313f56f9baec5210..d7fb1a5b53a5fd3115f93c9ee4245043f1ddc9a3 100644 (file)
     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, ...);