Skip to content

Commit

Permalink
From patchwork series 384485
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox Snowpatch committed Nov 30, 2023
1 parent 9a15ae6 commit a611dbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/kernel/trace/ftrace_entry.S
Expand Up @@ -62,7 +62,7 @@
.endif

/* Save previous stack pointer (r1) */
addi r8, r1, SWITCH_FRAME_SIZE
addi r8, r1, SWITCH_FRAME_SIZE+STACK_FRAME_MIN_SIZE
PPC_STL r8, GPR1(r1)

.if \allregs == 1
Expand Down Expand Up @@ -182,7 +182,7 @@ ftrace_no_trace:
mflr r3
mtctr r3
REST_GPR(3, r1)
addi r1, r1, SWITCH_FRAME_SIZE
addi r1, r1, SWITCH_FRAME_SIZE+STACK_FRAME_MIN_SIZE
mtlr r0
bctr
#endif
Expand Down

0 comments on commit a611dbb

Please sign in to comment.