From: Jacob Shin Date: Wed, 5 Jun 2013 20:13:55 +0000 (-0500) Subject: x86, microcode, amd: Make find_ucode_in_initrd() __init X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~52^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=275bbe2e299f1820ec8faa443d689469a9e6ecc5;p=pandora-kernel.git x86, microcode, amd: Make find_ucode_in_initrd() __init Change find_ucode_in_initrd() to __init and only let BSP call it during cold boot. This is the right thing to do because only BSP will see initrd loaded by the boot loader. APs will offset into initrd_start to find the microcode patch binary. Reported-by: Yinghai Lu Signed-off-by: Jacob Shin Link: http://lkml.kernel.org/r/1370463236-2115-2-git-send-email-jacob.shin@amd.com Cc: Fenghua Yu Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed