aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/microcode_amd.c
diff options
context:
space:
mode:
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) \