提交 2eba318e 编写于 作者: M Michal Simek

microblaze: Move task_pt_regs up

This change is important for easier merge with Microblaze MMU code.
Signed-off-by: NMichal Simek <monstr@monstr.eu>
上级 ac3efab5
......@@ -26,6 +26,9 @@ extern const struct seq_operations cpuinfo_op;
# endif /* __ASSEMBLY__ */
#define task_pt_regs(tsk) \
(((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1)
/*
* User space process size: memory size
*
......@@ -84,9 +87,6 @@ extern unsigned long get_wchan(struct task_struct *p);
*/
extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);
# define task_pt_regs(tsk) \
(((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1)
# define KSTK_EIP(tsk) (0)
# define KSTK_ESP(tsk) (0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册