mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
STABLE14-ppc64-linux-26-thread-info-20080418
LICENSE IPL10
thread_info is dead
(cherry picked from commit 2a0f8bfda8
)
This commit is contained in:
parent
58fe18f4f3
commit
9886ba8905
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user