fs/reiserfs/journal.c: change return type of dirty_one_transaction
[linux/fpc-iii.git] / arch / sh / include / asm / stacktrace.h
blob50c173c0b9f56f693cf48bb17346835422955f1b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2009 Matt Fleming
5 * Based on:
6 * The x86 implementation - arch/x86/include/asm/stacktrace.h
7 */
8 #ifndef _ASM_SH_STACKTRACE_H
9 #define _ASM_SH_STACKTRACE_H
11 /* Generic stack tracer with callbacks */
13 struct stacktrace_ops {
14 void (*address)(void *data, unsigned long address, int reliable);
15 /* On negative return stop dumping */
16 int (*stack)(void *data, char *name);
19 void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
20 unsigned long *stack,
21 const struct stacktrace_ops *ops, void *data);
23 #endif /* _ASM_SH_STACKTRACE_H */