x86, microcode, AMD: Exit early on success
authorBorislav Petkov <borislav.petkov@amd.com>
Wed, 7 Dec 2011 16:26:56 +0000 (17:26 +0100)
committerBorislav Petkov <bp@amd64.org>
Wed, 14 Dec 2011 11:46:52 +0000 (12:46 +0100)
commitd733689ad57ec332fb1e392115d83a75f35df1cf
tree98c4853147c62c7e8880acc6fcc9b405a595c2f6
parentbe62adb492943ce2525ff19401b389a85006ad15
x86, microcode, AMD: Exit early on success

Once we've found and validated the ucode patch for the current CPU,
there's no need to iterate over the remaining patches in the binary
image. Exit then and save us a bunch of cycles.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
arch/x86/kernel/microcode_amd.c