32-bit userspace ABI: introduce ARCH_32BIT_OFF_T config option
[linux-2.6-microblaze.git] / include / linux / fcntl.h
index 27dc7a6..d019df9 100644 (file)
@@ -12,7 +12,7 @@
         O_NOATIME | O_CLOEXEC | O_PATH | __O_TMPFILE)
 
 #ifndef force_o_largefile
-#define force_o_largefile() (BITS_PER_LONG != 32)
+#define force_o_largefile() (!IS_ENABLED(CONFIG_ARCH_32BIT_OFF_T))
 #endif
 
 #if BITS_PER_LONG == 32