Messages in this thread | | | Date | Wed, 25 Apr 2012 14:24:59 -0700 | Subject | BITS_PER_LONG used in include/asm-generic/statfs.h | From | "H.J. Lu" <> |
| |
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.
| |