aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/process.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 04:06:01 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 12:08:57 -0500
commitb5e2fc1c6259e6f26bc4ae4de697da1f8da0edec (patch)
treea30c0c897bd0b6e529b6ef760f6bd44775cfb7d3 /arch/powerpc/kernel/process.c
parentee8c1dd44305cca9d0ded248de991f67b55ec622 (diff)
[PATCH] powerpc: task_thread_info()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r--arch/powerpc/kernel/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index 105d5609ff57..bc03526d25de 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -424,7 +424,7 @@ void show_regs(struct pt_regs * regs)
424 if (trap == 0x300 || trap == 0x600) 424 if (trap == 0x300 || trap == 0x600)
425 printk("DAR: "REG", DSISR: "REG"\n", regs->dar, regs->dsisr); 425 printk("DAR: "REG", DSISR: "REG"\n", regs->dar, regs->dsisr);
426 printk("TASK = %p[%d] '%s' THREAD: %p", 426 printk("TASK = %p[%d] '%s' THREAD: %p",
427 current, current->pid, current->comm, current->thread_info); 427 current, current->pid, current->comm, task_thread_info(current));
428 428
429#ifdef CONFIG_SMP 429#ifdef CONFIG_SMP
430 printk(" CPU: %d", smp_processor_id()); 430 printk(" CPU: %d", smp_processor_id());
@@ -516,7 +516,7 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
516#ifdef CONFIG_PPC32 516#ifdef CONFIG_PPC32
517 childregs->gpr[2] = (unsigned long) p; 517 childregs->gpr[2] = (unsigned long) p;
518#else 518#else
519 clear_ti_thread_flag(p->thread_info, TIF_32BIT); 519 clear_tsk_thread_flag(p, TIF_32BIT);
520#endif 520#endif
521 p->thread.regs = NULL; /* no user register state */ 521 p->thread.regs = NULL; /* no user register state */
522 } else { 522 } else {