asm-generic: Use __BITS_PER_LONG in statfs.h
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 26 Apr 2012 18:45:16 +0000 (11:45 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 30 Apr 2012 19:55:15 +0000 (12:55 -0700)
commitf5c2347ee20a8d6964d6a6b1ad04f200f8d4dfa7
tree88fc7d201dfa1e14b1689cccee512c3852a8c346
parentf7f286a910221ae18b21c18d9d0f4cd88965829f
asm-generic: Use __BITS_PER_LONG in statfs.h

<asm-generic/statfs.h> is exported to userspace, so using
BITS_PER_LONG is invalid.  We need to use __BITS_PER_LONG instead.

This is kernel bugzilla 43165.

Reported-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1335465916-16965-1-git-send-email-hpa@linux.intel.com
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: <stable@vger.kernel.org>
include/asm-generic/statfs.h