x86: microcode_amd: fix wrong handling of equivalent CPU id
commit3c763fd77e66e55d029052da31df0abd9920cb1e
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Tue, 16 Dec 2008 18:07:47 +0000 (16 19:07 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 18:58:00 +0000 (16 19:58 +0100)
tree9c490ea8fc965f4bce2dd62708fcccbcad430bc9
parent5279585ff2bedc8180da5bdf8aa3ff1736466de2
x86: microcode_amd: fix wrong handling of equivalent CPU id

Impact: fix bug resulting in non-loaded AMD microcode

mc_header->processor_rev_id is a 2 byte value. Similar is true for
equiv_cpu in an equiv_cpu_entry -- only 2 bytes are of interest.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/microcode_amd.c