summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2014-08-24 11:27:42 +0200
committerIngo Molnar <mingo@kernel.org>2014-08-24 11:27:42 +0200
commit44afe6029422da55918d8156c6900dbf5259533b (patch)
treee6fef1ec482f6f3d563c98b28ad2b36b7959cf62 /arch/x86/include
parent5317821c08533e5f42f974e4e68e092beaf099b1 (diff)
parentebc14ddcc9454c02439b67f6536628289faaa26e (diff)
downloadop-kernel-dev-44afe6029422da55918d8156c6900dbf5259533b.zip
op-kernel-dev-44afe6029422da55918d8156c6900dbf5259533b.tar.gz
Merge tag 'microcode_cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp into x86/microcode
Pull x86/microcode updates from Borislav Petkov: "A bunch of cleanups from Henrique." Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/microcode_intel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/microcode_intel.h b/arch/x86/include/asm/microcode_intel.h
index 9067166..bbe296e 100644
--- a/arch/x86/include/asm/microcode_intel.h
+++ b/arch/x86/include/asm/microcode_intel.h
@@ -43,7 +43,7 @@ struct extended_sigtable {
#define DWSIZE (sizeof(u32))
#define get_totalsize(mc) \
- (((struct microcode_intel *)mc)->hdr.totalsize ? \
+ (((struct microcode_intel *)mc)->hdr.datasize ? \
((struct microcode_intel *)mc)->hdr.totalsize : \
DEFAULT_UCODE_TOTALSIZE)
OpenPOWER on IntegriCloud