mirror of https://gitee.com/openkylin/linux.git
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()
This commit is contained in:
commit
31408fbe33
|
@ -2125,7 +2125,7 @@ ftrace_regs_caller:
|
||||||
copy %rp, %r26
|
copy %rp, %r26
|
||||||
LDREG -FTRACE_FRAME_SIZE-PT_SZ_ALGN(%sp), %r25
|
LDREG -FTRACE_FRAME_SIZE-PT_SZ_ALGN(%sp), %r25
|
||||||
ldo -8(%r25), %r25
|
ldo -8(%r25), %r25
|
||||||
copy %r3, %arg2
|
ldo -FTRACE_FRAME_SIZE(%r1), %arg2
|
||||||
b,l ftrace_function_trampoline, %rp
|
b,l ftrace_function_trampoline, %rp
|
||||||
copy %r1, %arg3 /* struct pt_regs */
|
copy %r1, %arg3 /* struct pt_regs */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue