mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
Linux: #if BLAH should be #if defined(BLAH)
As the subject says, using #if BLAH gives warnings. Fix them in osi_ioctl.c Change-Id: Iee3da68cd29e84bd201a1ee657d3f80ca9b2f5d5 Reviewed-on: http://gerrit.openafs.org/1041 Reviewed-by: Russ Allbery <rra@stanford.edu> Tested-by: Russ Allbery <rra@stanford.edu>
This commit is contained in:
parent
dab6cbadd6
commit
c45e2b374b
@ -56,9 +56,9 @@ afs_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
|
||||
if (cmd != VIOC_SYSCALL && cmd != VIOC_SYSCALL32) return -EINVAL;
|
||||
|
||||
#ifdef NEED_IOCTL32
|
||||
# ifdef AFS_S390X_LINUX26_ENV
|
||||
# if defined(AFS_S390X_LINUX26_ENV)
|
||||
if (test_thread_flag(TIF_31BIT))
|
||||
# elif AFS_AMD64_LINUX20_ENV
|
||||
# elif defined(AFS_AMD64_LINUX20_ENV)
|
||||
if (test_thread_flag(TIF_IA32))
|
||||
# else
|
||||
if (test_thread_flag(TIF_32BIT))
|
||||
|
Loading…
Reference in New Issue
Block a user