Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2eba318e authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Move task_pt_regs up



This change is important for easier merge with Microblaze MMU code.

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent ac3efab5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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)