xref: /linux/arch/openrisc/include/asm/unwinder.h (revision 44f57d78)
1 /*
2  * OpenRISC unwinder.h
3  *
4  * Architecture API for unwinding stacks.
5  *
6  * Copyright (C) 2017 Stafford Horne <shorne@gmail.com>
7  *
8  * This file is licensed under the terms of the GNU General Public License
9  * version 2.  This program is licensed "as is" without any warranty of any
10  * kind, whether express or implied.
11  */
12 
13 #ifndef __ASM_OPENRISC_UNWINDER_H
14 #define __ASM_OPENRISC_UNWINDER_H
15 
16 void unwind_stack(void *data, unsigned long *stack,
17 		  void (*trace)(void *data, unsigned long addr,
18 				int reliable));
19 
20 #endif /* __ASM_OPENRISC_UNWINDER_H */
21