]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: microcode_amd: fix wrong handling of equivalent CPU id
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Tue, 16 Dec 2008 18:07:47 +0000 (19:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Feb 2009 17:29:05 +0000 (09:29 -0800)
commitb1e533029763785a869206ac87d71bab8a34cf07
tree0a349c8442ee5bb43e17f4e42e40bc21da1c82fd
parent73a368388224240a18cf7810c401d3f3aca2c4ca
x86: microcode_amd: fix wrong handling of equivalent CPU id

commit 3c763fd77e66e55d029052da31df0abd9920cb1e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/microcode_amd.c