diff options
author | Linus Torvalds | 2019-11-01 15:16:25 -0700 |
---|---|---|
committer | Linus Torvalds | 2019-11-01 15:16:25 -0700 |
commit | 31408fbe33d1d5e6209fa89fa5b45459197b8970 (patch) | |
tree | 7a4e58970bba4b61cb67174162f99d127abcbaa8 | |
parent | 0dbe6cb8f7e05bc9611602ef45980a6c57b245a3 (diff) | |
parent | 3d252454edd0fe88c8250cb7f9dfb9ec12d208d7 (diff) |
Merge branch 'parisc-5.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc fix from Helge Deller:
"Fix a parisc kernel crash with ftrace functions when compiled without
frame pointers"
* 'parisc-5.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
parisc: fix frame pointer in ftrace_regs_caller()
-rw-r--r-- | arch/parisc/kernel/entry.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S index 1d1d748c227f..b96d74496977 100644 --- a/arch/parisc/kernel/entry.S +++ b/arch/parisc/kernel/entry.S @@ -2125,7 +2125,7 @@ ftrace_regs_caller: copy %rp, %r26 LDREG -FTRACE_FRAME_SIZE-PT_SZ_ALGN(%sp), %r25 ldo -8(%r25), %r25 - copy %r3, %arg2 + ldo -FTRACE_FRAME_SIZE(%r1), %arg2 b,l ftrace_function_trampoline, %rp copy %r1, %arg3 /* struct pt_regs */ |