unwind.h (5645688f9d0d5a32f030f9c5429e1a58bedca23b) unwind.h (8b5e99f02264130782a10ba5c0c759797fb064ee)
1#ifndef _ASM_X86_UNWIND_H
2#define _ASM_X86_UNWIND_H
3
4#include <linux/sched.h>
5#include <linux/ftrace.h>
6#include <asm/ptrace.h>
7#include <asm/stacktrace.h>
8
9struct unwind_state {
10 struct stack_info stack_info;
11 unsigned long stack_mask;
12 struct task_struct *task;
13 int graph_idx;
14#ifdef CONFIG_FRAME_POINTER
1#ifndef _ASM_X86_UNWIND_H
2#define _ASM_X86_UNWIND_H
3
4#include <linux/sched.h>
5#include <linux/ftrace.h>
6#include <asm/ptrace.h>
7#include <asm/stacktrace.h>
8
9struct unwind_state {
10 struct stack_info stack_info;
11 unsigned long stack_mask;
12 struct task_struct *task;
13 int graph_idx;
14#ifdef CONFIG_FRAME_POINTER
15 unsigned long *bp;
15 unsigned long *bp, *orig_sp;
16 struct pt_regs *regs;
17#else
18 unsigned long *sp;
19#endif
20};
21
22void __unwind_start(struct unwind_state *state, struct task_struct *task,
23 struct pt_regs *regs, unsigned long *first_frame);

--- 54 unchanged lines hidden ---
16 struct pt_regs *regs;
17#else
18 unsigned long *sp;
19#endif
20};
21
22void __unwind_start(struct unwind_state *state, struct task_struct *task,
23 struct pt_regs *regs, unsigned long *first_frame);

--- 54 unchanged lines hidden ---