summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/unwind.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include/asm/unwind.h')
-rw-r--r--arch/s390/include/asm/unwind.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/include/asm/unwind.h b/arch/s390/include/asm/unwind.h
index 5d6c8fe7a271..de9006b0cfeb 100644
--- a/arch/s390/include/asm/unwind.h
+++ b/arch/s390/include/asm/unwind.h
@@ -58,11 +58,11 @@ static inline bool unwind_error(struct unwind_state *state)
static inline void unwind_start(struct unwind_state *state,
struct task_struct *task,
struct pt_regs *regs,
- unsigned long sp)
+ unsigned long first_frame)
{
task = task ?: current;
- sp = sp ?: get_stack_pointer(task, regs);
- __unwind_start(state, task, regs, sp);
+ first_frame = first_frame ?: get_stack_pointer(task, regs);
+ __unwind_start(state, task, regs, first_frame);
}
static inline struct pt_regs *unwind_get_entry_regs(struct unwind_state *state)