1 |
stefaan 07/09/19 10:40:53 |
2 |
|
3 |
Added: openafs-ppc64.patch |
4 |
Log: |
5 |
Fix for ppc64 (bug #191216) |
6 |
(Portage version: 2.1.3.9) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-fs/openafs/files/openafs-ppc64.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/openafs/files/openafs-ppc64.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/openafs/files/openafs-ppc64.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: openafs-ppc64.patch |
15 |
=================================================================== |
16 |
--- src/afs/afs_call.c.old 2007-09-09 14:38:44.000000000 +0400 |
17 |
+++ src/afs/afs_call.c 2007-09-09 14:50:18.460222354 +0400 |
18 |
@@ -1340,7 +1340,11 @@ copyin_iparam(caddr_t cmarg, struct ipar |
19 |
if (current->thread.flags & THREAD_IA32) |
20 |
|
21 |
#elif defined(AFS_PPC64_LINUX26_ENV) |
22 |
- if (current->thread_info->flags & _TIF_32BIT) |
23 |
+#if defined(STRUCT_TASK_STRUCT_HAS_THREAD_INFO) |
24 |
+ if (current->thread_info->flags & _TIF_32BIT) |
25 |
+#else |
26 |
+ if (current_thread_info()->flags & _TIF_32BIT) |
27 |
+#endif |
28 |
#elif defined(AFS_PPC64_LINUX20_ENV) |
29 |
if (current->thread.flags & PPC_FLAG_32BIT) |
30 |
|
31 |
--- src/afs/afs_pioctl.c.bak 2007-09-18 01:12:03.000000000 -0400 |
32 |
+++ src/afs/afs_pioctl.c 2007-09-18 01:12:40.000000000 -0400 |
33 |
@@ -284,7 +284,11 @@ |
34 |
if (current->thread.flags & THREAD_IA32) |
35 |
|
36 |
#elif defined(AFS_PPC64_LINUX26_ENV) |
37 |
+#if defined(STRUCT_TASK_STRUCT_HAS_THREAD_INFO) |
38 |
if (current->thread_info->flags & _TIF_32BIT) |
39 |
+#else |
40 |
+ if (current_thread_info()->flags & _TIF_32BIT) |
41 |
+#endif |
42 |
#elif defined(AFS_PPC64_LINUX20_ENV) |
43 |
if (current->thread.flags & PPC_FLAG_32BIT) |
44 |
|
45 |
|
46 |
|
47 |
|
48 |
-- |
49 |
gentoo-commits@g.o mailing list |