diff options
author | Sia Jee Heng <jeeheng.sia@starfivetech.com> | 2023-03-30 09:43:19 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-04-29 21:25:11 +0300 |
commit | fcb89863d1b798565db6bdaf8f97f65823c2fd1b (patch) | |
tree | 9c9f9e1535dcb43df7cb50840d14de1819392582 /tools/perf/scripts/python/stackcollapse.py | |
parent | 0def12f32129c774f2cd598e326cc4b473da927b (diff) | |
download | linux-fcb89863d1b798565db6bdaf8f97f65823c2fd1b.tar.xz |
RISC-V: Factor out common code of __cpu_resume_enter()
The cpu_resume() function is very similar for the suspend to disk and
suspend to ram cases. Factor out the common code into suspend_restore_csrs
macro and suspend_restore_regs macro.
Signed-off-by: Sia Jee Heng <jeeheng.sia@starfivetech.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230330064321.1008373-3-jeeheng.sia@starfivetech.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions