diff options
author | Stefaan De Roeck <stefaan@gentoo.org> | 2007-09-19 16:31:19 +0000 |
---|---|---|
committer | Stefaan De Roeck <stefaan@gentoo.org> | 2007-09-19 16:31:19 +0000 |
commit | b0448e7b7a69ae1b663678a884e5ddb8aee39261 (patch) | |
tree | 07a0ee41803d3021831a1f55f2f058bf0c5bf187 /net-fs/openafs-kernel/files | |
parent | Stable for HPPA (bug #192834). (diff) | |
download | historical-b0448e7b7a69ae1b663678a884e5ddb8aee39261.tar.gz historical-b0448e7b7a69ae1b663678a884e5ddb8aee39261.tar.bz2 historical-b0448e7b7a69ae1b663678a884e5ddb8aee39261.zip |
Fix for ppc64 (bug #191216)
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'net-fs/openafs-kernel/files')
-rw-r--r-- | net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.4_p20070724-r1 | 9 | ||||
-rw-r--r-- | net-fs/openafs-kernel/files/openafs-ppc64.patch | 29 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.4_p20070724-r1 b/net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.4_p20070724-r1 new file mode 100644 index 000000000000..45171d220de7 --- /dev/null +++ b/net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.4_p20070724-r1 @@ -0,0 +1,9 @@ +MD5 09e5fd0d92579373687391b6f0579614 openafs-1.4.4-cvs20070724.patch.bz2 86943 +RMD160 26daf5867f89691ba2cf6f578a729cae8894c646 openafs-1.4.4-cvs20070724.patch.bz2 86943 +SHA256 2fffc29f58db15f46eb7b1695744f7982ccb836b84f7964308de893d4345b724 openafs-1.4.4-cvs20070724.patch.bz2 86943 +MD5 59cd499c6bf337b1f2215f83a7404794 openafs-1.4.4-src.tar.bz2 12500224 +RMD160 712907afc74ced010996dd43f785b341ac24da46 openafs-1.4.4-src.tar.bz2 12500224 +SHA256 a417c4d5eab6cf68c6082b6bd93d7ca70410635794308b731269b246ba80f7e4 openafs-1.4.4-src.tar.bz2 12500224 +MD5 9c7119b44628c1f0a7b251e096e94d16 openafs-gentoo-0.13.tar.bz2 16814 +RMD160 98bd851081bcdccec87b50139e7bd9e52663c12b openafs-gentoo-0.13.tar.bz2 16814 +SHA256 a39c0c9656a82e586bff7bd9543d8ccd175991777d68c7fe47de1c724cbe19f2 openafs-gentoo-0.13.tar.bz2 16814 diff --git a/net-fs/openafs-kernel/files/openafs-ppc64.patch b/net-fs/openafs-kernel/files/openafs-ppc64.patch new file mode 100644 index 000000000000..ae444e52a90f --- /dev/null +++ b/net-fs/openafs-kernel/files/openafs-ppc64.patch @@ -0,0 +1,29 @@ +--- src/afs/afs_call.c.old 2007-09-09 14:38:44.000000000 +0400 ++++ src/afs/afs_call.c 2007-09-09 14:50:18.460222354 +0400 +@@ -1340,7 +1340,11 @@ copyin_iparam(caddr_t cmarg, struct ipar + 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 (current_thread_info()->flags & _TIF_32BIT) ++#endif + #elif defined(AFS_PPC64_LINUX20_ENV) + if (current->thread.flags & PPC_FLAG_32BIT) + +--- src/afs/afs_pioctl.c.bak 2007-09-18 01:12:03.000000000 -0400 ++++ src/afs/afs_pioctl.c 2007-09-18 01:12:40.000000000 -0400 +@@ -284,7 +284,11 @@ + 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 (current_thread_info()->flags & _TIF_32BIT) ++#endif + #elif defined(AFS_PPC64_LINUX20_ENV) + if (current->thread.flags & PPC_FLAG_32BIT) + |