Skip to content
Snippets Groups Projects
Commit f5c2347e authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

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: default avatarH.J. Lu <hjl.tools@gmail.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1335465916-16965-1-git-send-email-hpa@linux.intel.com


Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Cc: <stable@vger.kernel.org>
parent f7f286a9
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ typedef __kernel_fsid_t fsid_t;
* with a 10' pole.
*/
#ifndef __statfs_word
#if BITS_PER_LONG == 64
#if __BITS_PER_LONG == 64
#define __statfs_word long
#else
#define __statfs_word __u32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment