arch/xtensa: Fix some indentations.

This commit is contained in:
Abdelatif Guettouche
2022-03-13 22:26:35 +01:00
committed by Xiang Xiao
parent 6fa4a42e34
commit cff3d9df7b
2 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -756,13 +756,13 @@ _xtensa_level6_handler:
/* Restore only level-specific regs (the rest were already restored) */ /* Restore only level-specific regs (the rest were already restored) */
l32i a0, a2, (4 * REG_PS) /* Retrieve interruptee's PS */ l32i a0, a2, (4 * REG_PS) /* Retrieve interruptee's PS */
wsr a0, EPS_6 wsr a0, EPS_6
l32i a0, a2, (4 * REG_PC) /* Retrieve interruptee's PC */ l32i a0, a2, (4 * REG_PC) /* Retrieve interruptee's PC */
wsr a0, EPC_6 wsr a0, EPC_6
l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */ l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */
l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */ l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */
l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */ l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */
rsync /* Ensure EPS and EPC written */ rsync /* Ensure EPS and EPC written */
/* Return from interrupt. RFI restores the PS from EPS_6 and jumps to /* Return from interrupt. RFI restores the PS from EPS_6 and jumps to
+2 -2
View File
@@ -298,7 +298,7 @@ _xtensa_user_handler:
wsr a0, EPC_1 wsr a0, EPC_1
l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */ l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */
l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */ l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */
l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */ l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */
rsync /* Ensure PS and EPC written */ rsync /* Ensure PS and EPC written */
/* Return from exception. RFE returns from either the UserExceptionVector /* Return from exception. RFE returns from either the UserExceptionVector
@@ -428,7 +428,7 @@ _xtensa_syscall_handler:
wsr a0, EPC_1 wsr a0, EPC_1
l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */ l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */
l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */ l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */
l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */ l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */
rsync /* Ensure PS and EPC written */ rsync /* Ensure PS and EPC written */
/* Return from exception. RFE returns from either the UserExceptionVector /* Return from exception. RFE returns from either the UserExceptionVector