diff options
| author | Hans Rosenfeld <hans.rosenfeld@amd.com> | 2010-07-28 13:09:32 -0400 |
|---|---|---|
| committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-07-28 16:12:31 -0400 |
| commit | 1be85a6d93f4207d8c2c6238c4a96895e28cefba (patch) | |
| tree | 8b55cf0390909e52982f6334347216699cfee189 /arch/x86/kernel | |
| parent | 9d8888c2a214aece2494a49e699a097c2ba9498b (diff) | |
x86, cpu: Use AMD errata checking framework for erratum 383
Use the AMD errata checking framework instead of open-coding the test.
Signed-off-by: Hans Rosenfeld <hans.rosenfeld@amd.com>
LKML-Reference: <1280336972-865982-3-git-send-email-hans.rosenfeld@amd.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel')
| -rw-r--r-- | arch/x86/kernel/cpu/amd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index a62a4ae7a11a..30f30dcbdb82 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c | |||
| @@ -632,6 +632,8 @@ const int amd_erratum_400[] = | |||
| 632 | AMD_OSVW_ERRATUM(1, AMD_MODEL_RANGE(0xf, 0x41, 0x2, 0xff, 0xf), | 632 | AMD_OSVW_ERRATUM(1, AMD_MODEL_RANGE(0xf, 0x41, 0x2, 0xff, 0xf), |
| 633 | AMD_MODEL_RANGE(0x10, 0x2, 0x1, 0xff, 0xf)); | 633 | AMD_MODEL_RANGE(0x10, 0x2, 0x1, 0xff, 0xf)); |
| 634 | 634 | ||
| 635 | const int amd_erratum_383[] = | ||
| 636 | AMD_OSVW_ERRATUM(3, AMD_MODEL_RANGE(0x10, 0, 0, 0xff, 0xf)); | ||
| 635 | 637 | ||
| 636 | bool cpu_has_amd_erratum(const int *erratum) | 638 | bool cpu_has_amd_erratum(const int *erratum) |
| 637 | { | 639 | { |
