aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/fcntl.h')
-rw-r--r--include/asm-ia64/fcntl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-ia64/fcntl.h b/include/asm-ia64/fcntl.h
index c9f8d835d0cc..cee16ea1780a 100644
--- a/include/asm-ia64/fcntl.h
+++ b/include/asm-ia64/fcntl.h
@@ -81,6 +81,7 @@ struct flock {
#define F_LINUX_SPECIFIC_BASE 1024
-#define force_o_largefile() ( ! (current->personality & PER_LINUX32) )
+#define force_o_largefile() \
+ (personality(current->personality) != PER_LINUX32)
#endif /* _ASM_IA64_FCNTL_H */