summaryrefslogtreecommitdiffstats
path: root/include/linux/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fcntl.h')
-rw-r--r--include/linux/fcntl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fcntl.h b/include/linux/fcntl.h
index 704fb76..8a7c821 100644
--- a/include/linux/fcntl.h
+++ b/include/linux/fcntl.h
@@ -25,6 +25,10 @@
#ifdef __KERNEL__
+#ifndef force_o_largefile
+#define force_o_largefile() (BITS_PER_LONG != 32)
+#endif
+
#if BITS_PER_LONG == 32
#define IS_GETLK32(cmd) ((cmd) == F_GETLK)
#define IS_SETLK32(cmd) ((cmd) == F_SETLK)
OpenPOWER on IntegriCloud