summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/microcode_amd.c
diff options
context:
space:
mode:
authorPeter Oruba <peter.oruba@amd.com>2008-07-29 17:41:04 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-31 23:26:15 +0200
commita0ac87d61ba20932e54f08464d3f3439d78fa878 (patch)
tree607ccfc8ba55ad23a2b41d12b077bffe85aac55b /arch/x86/kernel/microcode_amd.c
parentMerge commit 'v2.6.27-rc1' into x86/microcode (diff)
downloadlinux-a0ac87d61ba20932e54f08464d3f3439d78fa878.tar.xz
linux-a0ac87d61ba20932e54f08464d3f3439d78fa878.zip
x86: AMD microcode patch loader style corrections
Signed-off-by: Peter Oruba <peter.oruba@amd.com> Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/microcode_amd.c')
-rw-r--r--arch/x86/kernel/microcode_amd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/microcode_amd.c b/arch/x86/kernel/microcode_amd.c
index 07e52beacb44..6789530ef33b 100644
--- a/arch/x86/kernel/microcode_amd.c
+++ b/arch/x86/kernel/microcode_amd.c
@@ -47,9 +47,9 @@ MODULE_LICENSE("GPL v2");
#define UCODE_UCODE_TYPE 0x00000001
#define UCODE_MAX_SIZE (2048)
-#define DEFAULT_UCODE_DATASIZE (896) /* 896 bytes */
-#define MC_HEADER_SIZE (sizeof(struct microcode_header_amd)) /* 64 bytes */
-#define DEFAULT_UCODE_TOTALSIZE (DEFAULT_UCODE_DATASIZE + MC_HEADER_SIZE) /* 960 bytes */
+#define DEFAULT_UCODE_DATASIZE (896)
+#define MC_HEADER_SIZE (sizeof(struct microcode_header_amd))
+#define DEFAULT_UCODE_TOTALSIZE (DEFAULT_UCODE_DATASIZE + MC_HEADER_SIZE)
#define DWSIZE (sizeof(u32))
/* For now we support a fixed ucode total size only */
#define get_totalsize(mc) \