Skip to content

Commit

Permalink
morello: Use the RETURN macro in SMCCC assembly.
Browse files Browse the repository at this point in the history
  • Loading branch information
qwattash committed May 3, 2024
1 parent 131aa33 commit 8efc698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/dev/psci/smccc_arm64.S
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ ENTRY(arm_smccc_\insn)
cbz x4, 1f
stp PTR(0), PTR(1), [PTR(4), #(2 * PTR_WIDTH) * 0]
stp PTR(2), PTR(3), [PTR(4), #(2 * PTR_WIDTH) * 1]
1: ret
1: RETURN
END(arm_smccc_\insn)
.endm

Expand Down Expand Up @@ -158,7 +158,7 @@ ENTRY(arm_smccc_1_2_\insn)
#ifdef __CHERI_PURE_CAPABILITY__
restore_registers
#endif
ret
RETURN
END(arm_smccc_1_2\insn)
.endm
/* int arm_smccc_1_2_*(const struct arm_smccc_1_2_regs *args,
Expand Down

0 comments on commit 8efc698

Please sign in to comment.