commit | 7cc27349cbfec271eecec9488b4bf3f3fadb2ce4 | [log] [tgz] |
---|---|---|
author | Borislav Petkov <borislav.petkov@amd.com> | Fri Dec 31 16:57:48 2010 +0100 |
committer | Borislav Petkov <borislav.petkov@amd.com> | Wed Feb 09 16:05:34 2011 +0100 |
tree | 04baaf1293f67e7e661b46c7f7bcff082a14e7ee | |
parent | 10de52d6655ef0d4a1b8d2804db30208c26601ed [diff] |
x86, microcode, AMD: Simplify get_next_ucode Do not copy the section header but look at it directly through the pointer. Also, make it return a ptr to a ucode header directly thus dropping a bunch of unneeded casts. Finally, simplify generic_load_microcode(), while at it. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Acked-by: Andreas Herrmann <Andreas.Herrmann3@amd.com>