aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/kernel/entry.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/xtensa/kernel/entry.S b/arch/xtensa/kernel/entry.S
index 401b33bfd9c0..b4b14a579a3c 100644
--- a/arch/xtensa/kernel/entry.S
+++ b/arch/xtensa/kernel/entry.S
@@ -1336,11 +1336,11 @@ ENTRY(_spill_registers)
1336 1336
1337 wsr a2, DEPC # preserve a2 1337 wsr a2, DEPC # preserve a2
1338 rsr a2, WINDOWBASE 1338 rsr a2, WINDOWBASE
1339 rsr a3, WINDOWSTART 1339 rsr a3, WINDOWSTART # a3 = xxxwww1yy
1340 ssr a2 # holds WB 1340 ssr a2 # holds WB
1341 slli a2, a3, WSBITS 1341 slli a2, a3, WSBITS
1342 or a3, a3, a2 # a2 = xxxwww1yyxxxwww1yy 1342 or a3, a3, a2 # a3 = xxxwww1yyxxxwww1yy
1343 srl a3, a3 1343 srl a3, a3 # a3 = 00xxxwww1yyxxxwww1
1344 1344
1345 /* We are done if there are no more than the current register frame. */ 1345 /* We are done if there are no more than the current register frame. */
1346 1346
@@ -1395,8 +1395,8 @@ ENTRY(_spill_registers)
1395 j .Lc12c 1395 j .Lc12c
1396 1396
1397.Lnospill: 1397.Lnospill:
1398 rsr a2, DEPC # restore a2 and 'return' 1398 rsr a2, DEPC
1399 jx a0 1399 ret
1400 1400
1401.Lloop: _bbsi.l a3, 1, .Lc4 1401.Lloop: _bbsi.l a3, 1, .Lc4
1402 _bbci.l a3, 2, .Lc12 1402 _bbci.l a3, 2, .Lc12
@@ -1423,7 +1423,7 @@ ENTRY(_spill_registers)
1423 movi a3, 1 1423 movi a3, 1
1424 sll a3, a3 1424 sll a3, a3
1425 wsr a3, WINDOWSTART 1425 wsr a3, WINDOWSTART
1426 jx a0 1426 ret
1427 1427
1428.Lc4: s32e a4, a9, -16 1428.Lc4: s32e a4, a9, -16
1429 s32e a5, a9, -12 1429 s32e a5, a9, -12