diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2014-07-23 16:10:45 -0400 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2014-07-24 06:26:52 -0400 |
commit | 05a5f76d033f413396bc48ce2f8651b5659bcd31 (patch) | |
tree | 593842d86efb7de2e379772a44a0772b8c5cdb0c /arch/x86/kernel/cpu/microcode | |
parent | 1d2ce978d160fa960f12d06bf84e45f47c141272 (diff) |
x86, microcode, intel: Add missing static declarations
gcc reports that a few declarations are missing.
Fix two obvious ones.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Link: http://lkml.kernel.org/r/1406146251-8540-1-git-send-email-hmh@hmh.eng.br
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/kernel/cpu/microcode')
-rw-r--r-- | arch/x86/kernel/cpu/microcode/intel_early.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/microcode/intel_early.c b/arch/x86/kernel/cpu/microcode/intel_early.c index 18f739129e72..b105c11c6f59 100644 --- a/arch/x86/kernel/cpu/microcode/intel_early.c +++ b/arch/x86/kernel/cpu/microcode/intel_early.c | |||
@@ -28,8 +28,8 @@ | |||
28 | #include <asm/tlbflush.h> | 28 | #include <asm/tlbflush.h> |
29 | #include <asm/setup.h> | 29 | #include <asm/setup.h> |
30 | 30 | ||
31 | unsigned long mc_saved_in_initrd[MAX_UCODE_COUNT]; | 31 | static unsigned long mc_saved_in_initrd[MAX_UCODE_COUNT]; |
32 | struct mc_saved_data { | 32 | static struct mc_saved_data { |
33 | unsigned int mc_saved_count; | 33 | unsigned int mc_saved_count; |
34 | struct microcode_intel **mc_saved; | 34 | struct microcode_intel **mc_saved; |
35 | } mc_saved_data; | 35 | } mc_saved_data; |