aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/microcode_amd.c
diff options
context:
space:
mode:
authorPeter Oruba <peter.oruba@amd.com>2008-07-29 11:41:04 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-31 17:26:15 -0400
commita0ac87d61ba20932e54f08464d3f3439d78fa878 (patch)
tree607ccfc8ba55ad23a2b41d12b077bffe85aac55b /arch/x86/kernel/microcode_amd.c
parent3825c9e8d01e4310c40a3903a354c433c32a7b6f (diff)
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");
47#define UCODE_UCODE_TYPE 0x00000001 47#define UCODE_UCODE_TYPE 0x00000001
48 48
49#define UCODE_MAX_SIZE (2048) 49#define UCODE_MAX_SIZE (2048)
50#define DEFAULT_UCODE_DATASIZE (896) /* 896 bytes */ 50#define DEFAULT_UCODE_DATASIZE (896)
51#define MC_HEADER_SIZE (sizeof(struct microcode_header_amd)) /* 64 bytes */ 51#define MC_HEADER_SIZE (sizeof(struct microcode_header_amd))
52#define DEFAULT_UCODE_TOTALSIZE (DEFAULT_UCODE_DATASIZE + MC_HEADER_SIZE) /* 960 bytes */ 52#define DEFAULT_UCODE_TOTALSIZE (DEFAULT_UCODE_DATASIZE + MC_HEADER_SIZE)
53#define DWSIZE (sizeof(u32)) 53#define DWSIZE (sizeof(u32))
54/* For now we support a fixed ucode total size only */ 54/* For now we support a fixed ucode total size only */
55#define get_totalsize(mc) \ 55#define get_totalsize(mc) \