amd64-linux26-fix-20060228

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.
This commit is contained in:
Russ Allbery 2006-02-28 21:17:27 +00:00
parent c41253bda7
commit 79a7ddac4d

View File

@ -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 */