aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorSia Jee Heng <[email protected]>2023-03-30 14:43:19 +0800
committerPalmer Dabbelt <[email protected]>2023-04-29 11:25:11 -0700
commitfcb89863d1b798565db6bdaf8f97f65823c2fd1b (patch)
tree9c9f9e1535dcb43df7cb50840d14de1819392582 /lib/mpi/mpi-mod.c
parent0def12f32129c774f2cd598e326cc4b473da927b (diff)
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 <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions