x86, microcode: Move to a proper location
authorBorislav Petkov <bp@suse.de>
Sun, 1 Dec 2013 17:09:58 +0000 (18:09 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 13 Jan 2014 19:00:12 +0000 (20:00 +0100)
commitbad5fa631fca5466401cd4a48e30cc1f1cb6101e
tree6049920eea5810bbd38f417f1313fa35f5a0679d
parent5335ba5cf475369f88db8e6835764efdcad8ab96
x86, microcode: Move to a proper location

We've grown a bunch of microcode loader files all prefixed with
"microcode_". They should be under cpu/ because this is strictly
CPU-related functionality so do that and drop the prefix since they're
in their own directory now which gives that prefix. :)

While at it, drop MICROCODE_INTEL_LIB config item and stash the
functionality under CONFIG_MICROCODE_INTEL as it was its only user.

Signed-off-by: Borislav Petkov <bp@suse.de>
Tested-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
arch/x86/Kconfig
arch/x86/kernel/Makefile
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/microcode/Makefile [new file with mode: 0644]
arch/x86/kernel/cpu/microcode/amd.c [moved from arch/x86/kernel/microcode_amd.c with 100% similarity]
arch/x86/kernel/cpu/microcode/amd_early.c [moved from arch/x86/kernel/microcode_amd_early.c with 100% similarity]
arch/x86/kernel/cpu/microcode/core.c [moved from arch/x86/kernel/microcode_core.c with 100% similarity]
arch/x86/kernel/cpu/microcode/core_early.c [moved from arch/x86/kernel/microcode_core_early.c with 100% similarity]
arch/x86/kernel/cpu/microcode/intel.c [moved from arch/x86/kernel/microcode_intel.c with 100% similarity]
arch/x86/kernel/cpu/microcode/intel_early.c [moved from arch/x86/kernel/microcode_intel_early.c with 100% similarity]
arch/x86/kernel/cpu/microcode/intel_lib.c [moved from arch/x86/kernel/microcode_intel_lib.c with 100% similarity]