x86/mm/init.c: Copy ucode from initrd image to kernel memory
authorFenghua Yu <fenghua.yu@intel.com>
Fri, 21 Dec 2012 07:44:31 +0000 (23:44 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 31 Jan 2013 21:20:26 +0000 (13:20 -0800)
commitcd745be89e1580e8a1b47454a39f97f9c5c4b1e0
tree5475f733d7b16348cd45081e10dfb356f4447843
parentfeddc9de8bf69415da6f96eca0219186b70d145a
x86/mm/init.c: Copy ucode from initrd image to kernel memory

Before initrd image is freed, copy valid ucode patches from initrd image
to kernel memory. The saved ucode will be used to update AP in resume
or hotplug.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1356075872-3054-12-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/init.c