From: Borislav Petkov Date: Fri, 31 Dec 2010 15:57:48 +0000 (+0100) Subject: x86, microcode, AMD: Simplify get_next_ucode X-Git-Tag: v2.6.39-rc1~501^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cc27349cbfec271eecec9488b4bf3f3fadb2ce4;p=pandora-kernel.git 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 Acked-by: Andreas Herrmann --- Reading git-diff-tree failed