OSDN Git Service

x86/microcode/intel: Get rid of revision_is_newer()
authorBorislav Petkov <bp@suse.de>
Fri, 10 Apr 2015 10:50:57 +0000 (12:50 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 May 2015 09:24:44 +0000 (11:24 +0200)
commita1a32d29f941b7219be07f9e76455a5e4ce4e9c4
tree558fa5936933a2ff55d07835a82f5884b35a9538
parent5198b44374adb3f6143459a03c37f103f8a09548
x86/microcode/intel: Get rid of revision_is_newer()

It is a one-liner for checking microcode header revisions. On top of
that, it can be used wrong as it was the case in _save_mc(). Get rid of
it.

Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/microcode_intel.h
arch/x86/kernel/cpu/microcode/intel_early.c
arch/x86/kernel/cpu/microcode/intel_lib.c