Skip to content
Commit 260a7551 authored by Borislav Petkov's avatar Borislav Petkov Committed by Paul Gortmaker
Browse files

x86/microcode: Fix the ancient deprecated microcode loading method



commit 24613a04 upstream.

Commit

  2613f36e ("x86/microcode: Attempt late loading only when new microcode is present")

added the new define UCODE_NEW to denote that an update should happen
only when newer microcode (than installed on the system) has been found.

But it missed adjusting that for the old /dev/cpu/microcode loading
interface. Fix it.

Fixes: 2613f36e ("x86/microcode: Attempt late loading only when new microcode is present")
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Jann Horn <jannh@google.com>
Link: https://lkml.kernel.org/r/20190405133010.24249-3-bp@alien8.de


Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent eb036713
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment