diff options
| author | Song Shuai <[email protected]> | 2023-05-22 10:50:20 +0800 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2023-06-19 09:27:57 -0700 |
| commit | c6399b893043a5bb634de8677362f96684f1c0c8 (patch) | |
| tree | 2bab552798812806b903722daa1a550ada547171 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 650ea2a1dd964ca0a9c55f68dcb614d359c6b7d7 (diff) | |
riscv: hibernation: Remove duplicate call of suspend_restore_csrs
The suspend_restore_csrs is called in both __hibernate_cpu_resume
and the `else` of subsequent swsusp_arch_suspend.
Removing the first call makes both suspend_{save,restore}_csrs
left in swsusp_arch_suspend for clean code.
Fixes: c0317210012e ("RISC-V: Add arch functions to support hibernation/suspend-to-disk")
Reviewed-by: Conor Dooley <[email protected]>
Reviewed-by: JeeHeng Sia <[email protected]>
Signed-off-by: Song Shuai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions