]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-amd64-linux26-fix-20060228
authorRuss Allbery <rra@stanford.edu>
Tue, 28 Feb 2006 21:22:50 +0000 (21:22 +0000)
committerRuss Allbery <rra@stanford.edu>
Tue, 28 Feb 2006 21:22:50 +0000 (21:22 +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.

(cherry picked from commit 79a7ddac4da960e3337b7792f8a44fc82514f81d)

src/afs/LINUX/osi_module.c

index 4e90c1cee442bc92d3de50cea0009174bb0b4922..fcc42b0f92f4bbd22d54fef8ea1bdbee402bd646 100644 (file)
@@ -290,6 +290,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 */