mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
ppc64-linux-26-thread-info-20080418
LICENSE IPL10 thread_info is dead
This commit is contained in:
parent
c3eb805fc0
commit
2a0f8bfda8
@ -111,7 +111,11 @@ copyin_afs_ioctl(caddr_t cmarg, struct afs_ioctl *dst)
|
|||||||
if (current->thread.flags & THREAD_IA32)
|
if (current->thread.flags & THREAD_IA32)
|
||||||
|
|
||||||
#elif defined(AFS_PPC64_LINUX26_ENV)
|
#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)
|
#elif defined(AFS_PPC64_LINUX20_ENV)
|
||||||
if (current->thread.flags & PPC_FLAG_32BIT)
|
if (current->thread.flags & PPC_FLAG_32BIT)
|
||||||
|
|
||||||
@ -378,7 +382,11 @@ copyin_iparam(caddr_t cmarg, struct iparam *dst)
|
|||||||
if (current->thread.flags & THREAD_IA32)
|
if (current->thread.flags & THREAD_IA32)
|
||||||
|
|
||||||
#elif defined(AFS_PPC64_LINUX26_ENV)
|
#elif defined(AFS_PPC64_LINUX26_ENV)
|
||||||
|
#if defined(STRUCT_TASK_STRUCT_HAS_THREAD_INFO)
|
||||||
if (current->thread_info->flags & _TIF_32BIT)
|
if (current->thread_info->flags & _TIF_32BIT)
|
||||||
|
#else
|
||||||
|
if (task_thread_info(current)->flags & _TIF_32BIT)
|
||||||
|
#endif
|
||||||
#elif defined(AFS_PPC64_LINUX20_ENV)
|
#elif defined(AFS_PPC64_LINUX20_ENV)
|
||||||
if (current->thread.flags & PPC_FLAG_32BIT)
|
if (current->thread.flags & PPC_FLAG_32BIT)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user