blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / sh / include / asm / stacktrace.h
bloba7e2d4dfd087700ea6d1d963b9b267114b488da9
1 /*
2 * Copyright (C) 2009 Matt Fleming
4 * Based on:
5 * The x86 implementation - arch/x86/include/asm/stacktrace.h
6 */
7 #ifndef _ASM_SH_STACKTRACE_H
8 #define _ASM_SH_STACKTRACE_H
10 /* Generic stack tracer with callbacks */
12 struct stacktrace_ops {
13 void (*address)(void *data, unsigned long address, int reliable);
14 /* On negative return stop dumping */
15 int (*stack)(void *data, char *name);
18 void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
19 unsigned long *stack,
20 const struct stacktrace_ops *ops, void *data);
22 #endif /* _ASM_SH_STACKTRACE_H */