mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
x86/microcode: Remove unnecessary perf callback
c93dc84cbe
("perf/x86: Add a microcode revision check for SNB-PEBS")
checks whether the microcode revision has fixed PEBS issues.
This can happen either:
1. At PEBS init time, where the early microcode has been loaded already
2. During late loading, in the microcode_check() callback.
So remove the unnecessary call in the microcode loader init routine.
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20220525161232.14924-5-bp@alien8.de
This commit is contained in:
parent
d23d33ea0f
commit
0c0fe08c76
1 changed files with 0 additions and 3 deletions
|
@ -756,10 +756,7 @@ static int __init microcode_init(void)
|
|||
|
||||
cpus_read_lock();
|
||||
mutex_lock(µcode_mutex);
|
||||
|
||||
error = subsys_interface_register(&mc_cpu_interface);
|
||||
if (!error)
|
||||
perf_check_microcode();
|
||||
mutex_unlock(µcode_mutex);
|
||||
cpus_read_unlock();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue