diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2010-12-31 16:57:48 +0100 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2011-02-09 16:05:34 +0100 |
commit | 7cc27349cbfec271eecec9488b4bf3f3fadb2ce4 (patch) | |
tree | 04baaf1293f67e7e661b46c7f7bcff082a14e7ee /mm/oom_kill.c | |
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>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions