aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/smp.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/platforms/pseries/smp.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/platforms/pseries/smp.c')
-rw-r--r--arch/powerpc/platforms/pseries/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/smp.c b/arch/powerpc/platforms/pseries/smp.c
index 25181c594d73..2f543cea9787 100644
--- a/arch/powerpc/platforms/pseries/smp.c
+++ b/arch/powerpc/platforms/pseries/smp.c
@@ -282,7 +282,7 @@ static inline int __devinit smp_startup_cpu(unsigned int lcpu)
282 pcpu = get_hard_smp_processor_id(lcpu); 282 pcpu = get_hard_smp_processor_id(lcpu);
283 283
284 /* Fixup atomic count: it exited inside IRQ handler. */ 284 /* Fixup atomic count: it exited inside IRQ handler. */
285 paca[lcpu].__current->thread_info->preempt_count = 0; 285 task_thread_info(paca[lcpu].__current)->preempt_count = 0;
286 286
287 /* 287 /*
288 * If the RTAS start-cpu token does not exist then presume the 288 * If the RTAS start-cpu token does not exist then presume the