mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
c0735ae9a0
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>
22 lines
528 B
C
22 lines
528 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2009 Matt Fleming
|
|
*
|
|
* Based on:
|
|
* The x86 implementation - arch/x86/include/asm/stacktrace.h
|
|
*/
|
|
#ifndef _ASM_SH_STACKTRACE_H
|
|
#define _ASM_SH_STACKTRACE_H
|
|
|
|
/* Generic stack tracer with callbacks */
|
|
|
|
struct stacktrace_ops {
|
|
void (*address)(void *data, unsigned long address, int reliable);
|
|
};
|
|
|
|
void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
|
|
unsigned long *stack,
|
|
const struct stacktrace_ops *ops, void *data);
|
|
|
|
#endif /* _ASM_SH_STACKTRACE_H */
|