hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/cpuidle/cpuidle-pseries.c
....@@ -409,13 +409,7 @@
409409 return -ENODEV;
410410
411411 if (firmware_has_feature(FW_FEATURE_SPLPAR)) {
412
- /*
413
- * Use local_paca instead of get_lppaca() since
414
- * preemption is not disabled, and it is not required in
415
- * fact, since lppaca_ptr does not need to be the value
416
- * associated to the current CPU, it can be from any CPU.
417
- */
418
- if (lppaca_shared_proc(local_paca->lppaca_ptr)) {
412
+ if (lppaca_shared_proc()) {
419413 cpuidle_state_table = shared_states;
420414 max_idle_state = ARRAY_SIZE(shared_states);
421415 } else {