diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 01:06:01 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 09:08:57 -0800 |
commit | b5e2fc1c6259e6f26bc4ae4de697da1f8da0edec (patch) | |
tree | a30c0c897bd0b6e529b6ef760f6bd44775cfb7d3 /arch/powerpc/platforms/pseries/smp.c | |
parent | ee8c1dd44305cca9d0ded248de991f67b55ec622 (diff) | |
download | op-kernel-dev-b5e2fc1c6259e6f26bc4ae4de697da1f8da0edec.zip op-kernel-dev-b5e2fc1c6259e6f26bc4ae4de697da1f8da0edec.tar.gz |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/smp.c b/arch/powerpc/platforms/pseries/smp.c index 25181c5..2f543ce 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) pcpu = get_hard_smp_processor_id(lcpu); /* Fixup atomic count: it exited inside IRQ handler. */ - paca[lcpu].__current->thread_info->preempt_count = 0; + task_thread_info(paca[lcpu].__current)->preempt_count = 0; /* * If the RTAS start-cpu token does not exist then presume the |