Skip to content

Commit f5c2347

Browse files
author
H. Peter Anvin
committed
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 <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Acked-by: Arnd Bergmann <[email protected]> Cc: <[email protected]>
1 parent f7f286a commit f5c2347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)