asm-generic: Use __BITS_PER_LONG in statfs.h
Subsystems (2)
PATCH 1/1 asm-generic: Use __BITS_PER_LONG in statfs.h
From: "H. Peter Anvin" <[email protected]>
<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]>
--- include/asm-generic/statfs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-generic/statfs.h +1 -1
@@ -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
Signature · 1 line
1.7.6.5
Quoted 6 lines · H. Peter Anvin
From: "H. Peter Anvin" <[email protected]>
<
asm-generic/statfs.h> is exported to userspace, so usingBITS_PER_LONGis invalid. We need to use__BITS_PER_LONGinstead.This is kernel bugzilla 43165.
Acked-by Arnd Bergmann <[email protected]>
Commit-ID: f5c2347ee20a8d6964d6a6b1ad04f200f8d4dfa7 Gitweb: http://git.kernel.org/tip/f5c2347ee20a8d6964d6a6b1ad04f200f8d4dfa7 Author: H. Peter Anvin <[email protected]> AuthorDate: Thu, 26 Apr 2012 11:45:16 -0700 Committer: H. Peter Anvin <[email protected]> CommitDate: Mon, 30 Apr 2012 12:55:15 -0700
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]>
Acked-by Arnd Bergmann <[email protected]>
Cc <[email protected]>
--- include/asm-generic/statfs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-generic/statfs.h +1 -1
@@ -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