diff options
Diffstat (limited to 'arch/x86/kernel/microcode_core.c')
| -rw-r--r-- | arch/x86/kernel/microcode_core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/microcode_core.c b/arch/x86/kernel/microcode_core.c index 4873e62db6a1..9e5bcf1e2376 100644 --- a/arch/x86/kernel/microcode_core.c +++ b/arch/x86/kernel/microcode_core.c | |||
| @@ -225,6 +225,9 @@ static ssize_t microcode_write(struct file *file, const char __user *buf, | |||
| 225 | if (do_microcode_update(buf, len) == 0) | 225 | if (do_microcode_update(buf, len) == 0) |
| 226 | ret = (ssize_t)len; | 226 | ret = (ssize_t)len; |
| 227 | 227 | ||
| 228 | if (ret > 0) | ||
| 229 | perf_check_microcode(); | ||
| 230 | |||
| 228 | mutex_unlock(µcode_mutex); | 231 | mutex_unlock(µcode_mutex); |
| 229 | put_online_cpus(); | 232 | put_online_cpus(); |
| 230 | 233 | ||
