Commit 96e29ee
committed
intel_idle: Use subsys_initcall_sync() for initialization
JIRA: https://issues.redhat.com/browse/RHEL-110839
commit c0f6913
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date: Thu Jun 5 17:04:11 2025 +0200
intel_idle: Use subsys_initcall_sync() for initialization
It is not necessary to wait until the device_initcall() stage with
intel_idle initialization. All of its dependencies are met after
all subsys_initcall()s have run, so subsys_initcall_sync() can be
used for initializing it.
It is also better to ensure that intel_idle will always initialize
before the ACPI processor driver that uses module_init() for its
initialization.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Link: https://patch.msgid.link/2994397.e9J7NaK4W3@rjwysocki.net
Signed-off-by: Steve Best <sbest@redhat.com>1 parent 3c66d3d commit 96e29ee
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2487 | 2487 | | |
2488 | 2488 | | |
2489 | 2489 | | |
2490 | | - | |
| 2490 | + | |
2491 | 2491 | | |
2492 | 2492 | | |
2493 | 2493 | | |
| |||
0 commit comments