diff options
| -rw-r--r-- | arch/x86/kernel/cpu/microcode/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/microcode/core.c b/arch/x86/kernel/cpu/microcode/core.c index 2ce9051174e6..ebd232d7de4d 100644 --- a/arch/x86/kernel/cpu/microcode/core.c +++ b/arch/x86/kernel/cpu/microcode/core.c | |||
| @@ -557,7 +557,7 @@ static int __init microcode_init(void) | |||
| 557 | struct cpuinfo_x86 *c = &cpu_data(0); | 557 | struct cpuinfo_x86 *c = &cpu_data(0); |
| 558 | int error; | 558 | int error; |
| 559 | 559 | ||
| 560 | if (dis_ucode_ldr) | 560 | if (paravirt_enabled() || dis_ucode_ldr) |
| 561 | return 0; | 561 | return 0; |
| 562 | 562 | ||
| 563 | if (c->x86_vendor == X86_VENDOR_INTEL) | 563 | if (c->x86_vendor == X86_VENDOR_INTEL) |
