STABLE14-ppc64-linux-26-thread-info-20080418

LICENSE IPL10

thread_info is dead


(cherry picked from commit 2a0f8bfda8)
This commit is contained in:
Derrick Brashear 2008-04-18 21:13:32 +00:00
parent 58fe18f4f3
commit 9886ba8905
2 changed files with 9 additions and 1 deletions

View File

@ -1415,7 +1415,11 @@ copyin_iparam(caddr_t cmarg, struct iparam *dst)
if (current->thread.flags & THREAD_IA32)
#elif defined(AFS_PPC64_LINUX26_ENV)
#if defined(STRUCT_TASK_STRUCT_HAS_THREAD_INFO)
if (current->thread_info->flags & _TIF_32BIT)
#else
if (task_thread_info(current)->flags & _TIF_32BIT)
#endif
#elif defined(AFS_PPC64_LINUX20_ENV)
if (current->thread.flags & PPC_FLAG_32BIT)

View File

@ -284,7 +284,11 @@ copyin_afs_ioctl(caddr_t cmarg, struct afs_ioctl *dst)
if (current->thread.flags & THREAD_IA32)
#elif defined(AFS_PPC64_LINUX26_ENV)
if (current->thread_info->flags & _TIF_32BIT)
#if defined(STRUCT_TASK_STRUCT_HAS_THREAD_INFO)
if (current->thread_info->flags & _TIF_32BIT)
#else
if (task_thread_info(current)->flags & _TIF_32BIT)
#endif
#elif defined(AFS_PPC64_LINUX20_ENV)
if (current->thread.flags & PPC_FLAG_32BIT)