Skip to content

Commit

Permalink
microblaze: Move task_pt_regs up
Browse files Browse the repository at this point in the history
This change is important for easier merge with Microblaze MMU code.

Signed-off-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Michal Simek committed Apr 23, 2009
1 parent ac3efab commit 2eba318
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/microblaze/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 2eba318

Please sign in to comment.