diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-07-10 15:12:20 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-07-15 14:56:38 +0200 |
| commit | 2096d42d82dc983d9db861bd6585723bd24a0819 (patch) | |
| tree | 1030240c9ac9e7fb6bd52b99a588d20bb611a50c | |
| parent | 996afb6efd1a345736f9a888e4d6c7d4f3752aa5 (diff) | |
kexec_core: Drop redundant pm_restore_gfp_mask() call
Drop the direct pm_restore_gfp_mask() call from the KEXEC_JUMP flow in
kernel_kexec() because it is redundant. Namely, dpm_resume_end()
called beforehand in the same code path invokes that function and
it is sufficient to invoke it once.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/1949230.tdWV9SEqCh@rjwysocki.net
[ rjw: Rebase after fixing up previous changes ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
| -rw-r--r-- | kernel/kexec_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c index 554369595298..351cd7d76dfa 100644 --- a/kernel/kexec_core.c +++ b/kernel/kexec_core.c @@ -1135,7 +1135,6 @@ int kernel_kexec(void) dpm_resume_start(PMSG_RESTORE); Resume_devices: dpm_resume_end(PMSG_RESTORE); - pm_restore_gfp_mask(); console_resume_all(); thaw_processes(); Restore_console: |
