diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-06-18 10:59:37 +0300 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2020-08-15 05:05:11 +0300 |
commit | c0735ae9a00642b514bade90456ad6a828dcc6df (patch) | |
tree | 340ea16040c0be5dc17829a67c66e9ed083378d1 /arch/sh/oprofile | |
parent | eac1a488171c70c695c436bcea7682841649d5b6 (diff) | |
download | linux-c0735ae9a00642b514bade90456ad6a828dcc6df.tar.xz |
sh: stacktrace: Remove stacktrace_ops.stack()
The SH implementation never called stacktrace_ops.stack().
Presumably this was copied from the x86 implementation.
Hence remove the method, and all implementations (most of them are
dummies).
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh/oprofile')
-rw-r--r-- | arch/sh/oprofile/backtrace.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sh/oprofile/backtrace.c b/arch/sh/oprofile/backtrace.c index f1205f92631d..cc16cf86cd92 100644 --- a/arch/sh/oprofile/backtrace.c +++ b/arch/sh/oprofile/backtrace.c @@ -19,12 +19,6 @@ #include <asm/sections.h> #include <asm/stacktrace.h> -static int backtrace_stack(void *data, char *name) -{ - /* Yes, we want all stacks */ - return 0; -} - static void backtrace_address(void *data, unsigned long addr, int reliable) { unsigned int *depth = data; @@ -34,7 +28,6 @@ static void backtrace_address(void *data, unsigned long addr, int reliable) } static struct stacktrace_ops backtrace_ops = { - .stack = backtrace_stack, .address = backtrace_address, }; |