projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f7fc44
)
x86/microcode/intel: Move #ifdef DEBUG inside the function
author
Borislav Petkov
<
[email protected]
>
Tue, 20 Oct 2015 09:54:48 +0000
(11:54 +0200)
committer
Ingo Molnar
<
[email protected]
>
Wed, 21 Oct 2015 09:22:12 +0000
(11:22 +0200)
... and save us the stub.
Signed-off-by: Borislav Petkov <
[email protected]
>
Cc: Andy Lutomirski <
[email protected]
>
Cc: Arjan van de Ven <
[email protected]
>
Cc: Borislav Petkov <
[email protected]
>
Cc: Brian Gerst <
[email protected]
>
Cc: Dave Jones <
[email protected]
>
Cc: Denys Vlasenko <
[email protected]
>
Cc: H. Peter Anvin <
[email protected]
>
Cc: Len Brown <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Rafael J. Wysocki <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc: Tony Luck <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/cpu/microcode/intel.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/microcode/intel.c
b/arch/x86/kernel/cpu/microcode/intel.c
index 3f325586965e37d454b5771f9b76058cf8fb780a..ce47402eb2f90a70f44b9902687133da3acbad47 100644
(file)
--- a/
arch/x86/kernel/cpu/microcode/intel.c
+++ b/
arch/x86/kernel/cpu/microcode/intel.c
@@
-389,9
+389,9
@@
static int collect_cpu_info_early(struct ucode_cpu_info *uci)
return 0;
}
-#ifdef DEBUG
static void show_saved_mc(void)
{
+#ifdef DEBUG
int i, j;
unsigned int sig, pf, rev, total_size, data_size, date;
struct ucode_cpu_info uci;
@@
-449,12
+449,8
@@
static void show_saved_mc(void)
}
}
-}
-#else
-static inline void show_saved_mc(void)
-{
-}
#endif
+}
#ifdef CONFIG_HOTPLUG_CPU
static DEFINE_MUTEX(x86_cpu_microcode_mutex);