summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-04-16 11:05:26 +0200
committerMichal Simek <monstr@monstr.eu>2009-04-23 16:09:17 +0200
commit2eba318e0db1114726e69660d6b9e1bd59b10ba1 (patch)
tree958786c6b47c7c8fb57e015c48658af42659c81f /arch/microblaze
parentac3efab50621bd6d01e5b40f3134dc7824788390 (diff)
downloadlinux-2eba318e0db1114726e69660d6b9e1bd59b10ba1.tar.bz2
microblaze: Move task_pt_regs up
This change is important for easier merge with Microblaze MMU code. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/processor.h6
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;
# 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)