x86/microcode/intel: Simplify load_ucode_intel_bsp()
authorBorislav Petkov <bp@suse.de>
Mon, 9 Feb 2015 21:59:51 +0000 (22:59 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 2 Mar 2015 19:31:51 +0000 (20:31 +0100)
commit02f35177fb00ee0d73f9af2d6006af6b75b58c11
treebd3a5d80c228e4de949cc62b549832743052ebfe
parent2d48bb9b6ec6fb0f28e5135fd080edc23152ae45
x86/microcode/intel: Simplify load_ucode_intel_bsp()

Don't compute start and end from start and size in order to compute size
again down the path in scan_microcode(). So pass size directly instead
and simplify a bunch. Shorten variable names and remove useless ones.

Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/kernel/cpu/microcode/intel_early.c