BITS_PER_LONG used in include/asm-generic/statfs.h

From: H.J. Lu
Date: Wed Apr 25 2012 - 17:25:05 EST


Hi,

include/asm-generic/statfs.h has

#ifndef __statfs_word
#if BITS_PER_LONG == 64
#define __statfs_word long
#else
#define __statfs_word __u32
#endif
#endif

however, BITS_PER_LONG isn't defined when asm-generic/statfs.h is exported to
user space. Shouldn't it check __BITS_PER_LONG instead, at least when
exported to user space?

--
H.J.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/