diff options
author | Jisheng Zhang <[email protected]> | 2023-02-21 22:30:21 -0500 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-03-23 08:47:03 -0700 |
commit | 45b32b946a97bb4553bab30c2519bbaac55f39db (patch) | |
tree | 3454b93b6cb72fcb5b9b2b35c7e00d8f000070c0 /rust/helpers/build_bug.c | |
parent | ab9164dae27334415537ccf1c3fbabf56b7793b2 (diff) |
riscv: entry: Consolidate general regs saving/restoring
Consolidate the saving/restoring GPs (except zero, ra, sp, gp,
tp and t0) into save_from_x6_to_x31/restore_from_x6_to_x31 macros.
No functional change intended.
Signed-off-by: Jisheng Zhang <[email protected]>
Reviewed-by: Guo Ren <[email protected]>
Reviewed-by: Björn Töpel <[email protected]>
Tested-by: Guo Ren <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions