OSDN Git Service

[PATCH] x86 microcode: don't check the size
authorShaohua Li <shaohua.li@intel.com>
Wed, 27 Sep 2006 08:50:54 +0000 (01:50 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Sep 2006 15:26:18 +0000 (08:26 -0700)
commitbd8e39f9e4c0960541c8c69e1f7cb321574d7c90
treea9b0fbf4c476dcd030c5f1fa828e79ee2f236584
parent9a4b9efa1d39d7d31bed08fbe5a9b2a03b2759d4
[PATCH] x86 microcode: don't check the size

IA32 manual says if micorcode update's size is 0, then the size is
default size (2048 bytes). But this doesn't suggest all microcode
update's size should be above 2048 bytes to me. We actually had a
microcode update whose size is 1024 bytes. The patch just removed the
check.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Cc: Tigran Aivazian <tigran@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/microcode.c