Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/microcode/intel: Move #ifdef DEBUG inside the function

... and save us the stub.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/1445334889-300-6-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>

authored by

Borislav Petkov and committed by
Ingo Molnar
c595ac2b 6f7fc44b

+2 -6
+2 -6
arch/x86/kernel/cpu/microcode/intel.c
··· 389 389 return 0; 390 390 } 391 391 392 - #ifdef DEBUG 393 392 static void show_saved_mc(void) 394 393 { 394 + #ifdef DEBUG 395 395 int i, j; 396 396 unsigned int sig, pf, rev, total_size, data_size, date; 397 397 struct ucode_cpu_info uci; ··· 449 449 } 450 450 451 451 } 452 - } 453 - #else 454 - static inline void show_saved_mc(void) 455 - { 456 - } 457 452 #endif 453 + } 458 454 459 455 #ifdef CONFIG_HOTPLUG_CPU 460 456 static DEFINE_MUTEX(x86_cpu_microcode_mutex);