diff options
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/include/asm/processor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h index 4bed76d0a6c4..cea42a36d161 100644 --- a/arch/microblaze/include/asm/processor.h +++ b/arch/microblaze/include/asm/processor.h | |||
@@ -26,6 +26,9 @@ extern const struct seq_operations cpuinfo_op; | |||
26 | 26 | ||
27 | # endif /* __ASSEMBLY__ */ | 27 | # endif /* __ASSEMBLY__ */ |
28 | 28 | ||
29 | #define task_pt_regs(tsk) \ | ||
30 | (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1) | ||
31 | |||
29 | /* | 32 | /* |
30 | * User space process size: memory size | 33 | * User space process size: memory size |
31 | * | 34 | * |
@@ -84,9 +87,6 @@ extern unsigned long get_wchan(struct task_struct *p); | |||
84 | */ | 87 | */ |
85 | extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); | 88 | extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); |
86 | 89 | ||
87 | # define task_pt_regs(tsk) \ | ||
88 | (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1) | ||
89 | |||
90 | # define KSTK_EIP(tsk) (0) | 90 | # define KSTK_EIP(tsk) (0) |
91 | # define KSTK_ESP(tsk) (0) | 91 | # define KSTK_ESP(tsk) (0) |
92 | 92 | ||