x86, microcode, amd: Fix warnings and errors on with CONFIG_MICROCODE=m
authorJacob Shin <jacob.shin@amd.com>
Fri, 31 May 2013 06:53:24 +0000 (01:53 -0500)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 31 May 2013 20:56:58 +0000 (13:56 -0700)
commit6b3389ac21b5e557b957f1497d0ff22bf733e8c3
tree2615ccf0fd22eea72e71de9c3e7d7c70ae167eaf
parent757885e94a22bcc82beb9b1445c95218cb20ceab
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>
arch/x86/Kconfig
arch/x86/include/asm/microcode_amd.h
arch/x86/kernel/microcode_amd_early.c