Skip to content

Commit 7cfc66d

Browse files
H. Peter Anvinbwhacks
authored andcommitted
asm-generic: Use __BITS_PER_LONG in statfs.h
commit f5c2347 upstream. <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> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
1 parent 7643793 commit 7cfc66d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/asm-generic/statfs.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ typedef __kernel_fsid_t fsid_t;
1515
* with a 10' pole.
1616
*/
1717
#ifndef __statfs_word
18-
#if BITS_PER_LONG == 64
18+
#if __BITS_PER_LONG == 64
1919
#define __statfs_word long
2020
#else
2121
#define __statfs_word __u32

0 commit comments

Comments
 (0)