[PATCH] Don't force O_LARGEFILE for 32 bit processes on ia64
[pandora-kernel.git] / include / linux / fcntl.h
index 704fb76..8a7c821 100644 (file)
 
 #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)