git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c41253b
)
amd64-linux26-fix-20060228
author
Russ Allbery
<rra@stanford.edu>
Tue, 28 Feb 2006 21:17:27 +0000 (21:17 +0000)
committer
Russ Allbery
<rra@stanford.edu>
Tue, 28 Feb 2006 21:17:27 +0000 (21:17 +0000)
Restore the previous code for AMD64 under Linux 2.6, as the generic
Linux 2.6 code apparently does not work with all AMD64 kernels.
src/afs/LINUX/osi_module.c
patch
|
blob
|
history
diff --git
a/src/afs/LINUX/osi_module.c
b/src/afs/LINUX/osi_module.c
index
117b3ce
..
1476c50
100644
(file)
--- a/
src/afs/LINUX/osi_module.c
+++ b/
src/afs/LINUX/osi_module.c
@@
-634,6
+634,8
@@
afs_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
#ifdef AFS_LINUX26_ENV
#ifdef AFS_S390X_LINUX26_ENV
if (test_thread_flag(TIF_31BIT))
+#elif AFS_AMD64_LINUX20_ENV
+ if (test_thread_flag(TIF_IA32))
#else
if (test_thread_flag(TIF_32BIT))
#endif /* AFS_S390X_LINUX26_ENV */