diff options
| author | Harvey Hunt <[email protected]> | 2016-05-25 10:06:35 +0000 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2016-05-28 10:35:11 +0000 |
| commit | aedcfbe06558a9f53002e82d5be64c6c94687726 (patch) | |
| tree | 7dbec9cb94e21a777aa811ddaf836c6d6a0f3c5e /scripts/gcc-plugins | |
| parent | MIPS: Fix 64-bit HTW configuration (diff) | |
| download | kernel-aedcfbe06558a9f53002e82d5be64c6c94687726.tar.gz kernel-aedcfbe06558a9f53002e82d5be64c6c94687726.zip | |
MIPS: lib: Mark intrinsics notrace
On certain MIPS32 devices, the ftrace tracer "function_graph" uses
__lshrdi3() during the capturing of trace data. ftrace then attempts to
trace __lshrdi3() which leads to infinite recursion and a stack overflow.
Fix this by marking __lshrdi3() as notrace. Mark the other compiler
intrinsics as notrace in case the compiler decides to use them in the
ftrace path.
Signed-off-by: Harvey Hunt <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]> # 4.2.x-
Patchwork: https://patchwork.linux-mips.org/patch/13354/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
