Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82b07865 authored by Peter Oruba's avatar Peter Oruba Committed by Ingo Molnar
Browse files

x86: microcode patch loader bugfix



Corrected CPU vendor check condition for AMD microcode patch loader
initialization.

Signed-off-by: default avatarPeter Oruba <peter.oruba@amd.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 2f9284e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -450,7 +450,7 @@ static int __init microcode_init(void)

	if (c->x86_vendor == X86_VENDOR_INTEL)
		microcode_ops = init_intel_microcode();
	else if (c->x86_vendor != X86_VENDOR_AMD)
	else if (c->x86_vendor == X86_VENDOR_AMD)
		microcode_ops = init_amd_microcode();

	if (!microcode_ops) {