SIZEOF_LONG together with the unused SIZEOF_CHAR_P is the last thing that
really needs a generated configuration header. Switch to just using
sizeof(long) so that we can stop generating platform_defs.h.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
AC_MSG_ERROR([LTO not supported by compiler.])
fi
-AC_CHECK_SIZEOF([long])
-AC_CHECK_SIZEOF([char *])
AC_MANUAL_FORMAT
AC_HAVE_LIBURCU_ATOMIC64
#include <urcu.h>
/* long and pointer must be either 32 bit or 64 bit */
-#undef SIZEOF_LONG
-#undef SIZEOF_CHAR_P
-#define BITS_PER_LONG (SIZEOF_LONG * CHAR_BIT)
+#define BITS_PER_LONG (sizeof(long) * CHAR_BIT)
typedef unsigned short umode_t;