From 9ac287714fe59b7a92e4874ecd944d6958243363 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Wed, 14 Nov 2012 13:05:13 +0100 Subject: [PATCH] microblaze: Define current_pt_regs Upcomming patches are using this macro. Signed-off-by: Michal Simek --- arch/microblaze/include/asm/processor.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h index af2bb9652392..b38a3574dd3d 100644 --- a/arch/microblaze/include/asm/processor.h +++ b/arch/microblaze/include/asm/processor.h @@ -27,6 +27,8 @@ extern const struct seq_operations cpuinfo_op; #define task_pt_regs(tsk) \ (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1) +#define current_pt_regs() task_pt_regs(current) + /* Do necessary setup to start up a newly executed thread. */ void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp); -- 2.39.5