aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorJacob Shin <jacob.shin@amd.com>2013-05-31 02:53:24 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2013-05-31 16:56:58 -0400
commit6b3389ac21b5e557b957f1497d0ff22bf733e8c3 (patch)
tree2615ccf0fd22eea72e71de9c3e7d7c70ae167eaf /arch/x86/Kconfig
parent757885e94a22bcc82beb9b1445c95218cb20ceab (diff)
x86, microcode, amd: Fix warnings and errors on with CONFIG_MICROCODE=m
Fix section mismatch warnings on microcode_amd_early. Compile error occurs when CONFIG_MICROCODE=m, change so that early loading depends on microcode_core. Reported-by: Yinghai Lu <yinghai@kernel.org> Reported-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Jacob Shin <jacob.shin@amd.com> Link: http://lkml.kernel.org/r/20130531150241.GA12006@jshin-Toonie Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 28dba52af514..270553266297 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1065,7 +1065,7 @@ config MICROCODE_AMD_EARLY
1065 1065
1066config MICROCODE_EARLY 1066config MICROCODE_EARLY
1067 bool "Early load microcode" 1067 bool "Early load microcode"
1068 depends on (MICROCODE_INTEL || MICROCODE_AMD) && BLK_DEV_INITRD 1068 depends on MICROCODE=y && BLK_DEV_INITRD
1069 select MICROCODE_INTEL_EARLY if MICROCODE_INTEL 1069 select MICROCODE_INTEL_EARLY if MICROCODE_INTEL
1070 select MICROCODE_AMD_EARLY if MICROCODE_AMD 1070 select MICROCODE_AMD_EARLY if MICROCODE_AMD
1071 default y 1071 default y