summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/statfs.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-04-26 20:45:16 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2012-04-30 21:55:15 +0200
commitf5c2347ee20a8d6964d6a6b1ad04f200f8d4dfa7 (patch)
tree88fc7d201dfa1e14b1689cccee512c3852a8c346 /include/asm-generic/statfs.h
parentx86/amd: Re-enable CPU topology extensions in case BIOS has disabled it (diff)
downloadlinux-f5c2347ee20a8d6964d6a6b1ad04f200f8d4dfa7.tar.xz
linux-f5c2347ee20a8d6964d6a6b1ad04f200f8d4dfa7.zip
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>
Diffstat (limited to 'include/asm-generic/statfs.h')
-rw-r--r--include/asm-generic/statfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/statfs.h b/include/asm-generic/statfs.h
index 0fd28e028de1..c749af9c0983 100644
--- a/include/asm-generic/statfs.h
+++ b/include/asm-generic/statfs.h
@@ -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