* [PATCH] asm-generic: Use __BITS_PER_LONG in statfs.h
@ 2012-04-26 18:45 H. Peter Anvin
2012-04-30 13:57 ` Arnd Bergmann
2012-04-30 23:46 ` [tip:x86/urgent] " tip-bot for H. Peter Anvin
0 siblings, 2 replies; 3+ messages in thread
From: H. Peter Anvin @ 2012-04-26 18:45 UTC (permalink / raw)
To: Arnd Bergmann, linux-arch, linux-kernel; +Cc: hpa, H. Peter Anvin
From: "H. Peter Anvin" <hpa@linux.intel.com>
<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>
---
include/asm-generic/statfs.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-generic/statfs.h b/include/asm-generic/statfs.h
index 0fd28e0..c749af9 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
--
1.7.6.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] asm-generic: Use __BITS_PER_LONG in statfs.h
2012-04-26 18:45 [PATCH] asm-generic: Use __BITS_PER_LONG in statfs.h H. Peter Anvin
@ 2012-04-30 13:57 ` Arnd Bergmann
2012-04-30 23:46 ` [tip:x86/urgent] " tip-bot for H. Peter Anvin
1 sibling, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2012-04-30 13:57 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: linux-arch, linux-kernel, hpa
On Thursday 26 April 2012, H. Peter Anvin wrote:
> From: "H. Peter Anvin" <hpa@linux.intel.com>
>
> <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.
Acked-by: Arnd Bergmann <arnd@arndb.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:x86/urgent] asm-generic: Use __BITS_PER_LONG in statfs.h
2012-04-26 18:45 [PATCH] asm-generic: Use __BITS_PER_LONG in statfs.h H. Peter Anvin
2012-04-30 13:57 ` Arnd Bergmann
@ 2012-04-30 23:46 ` tip-bot for H. Peter Anvin
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for H. Peter Anvin @ 2012-04-30 23:46 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, stable, arnd, tglx, hpa, hjl.tools
Commit-ID: f5c2347ee20a8d6964d6a6b1ad04f200f8d4dfa7
Gitweb: http://git.kernel.org/tip/f5c2347ee20a8d6964d6a6b1ad04f200f8d4dfa7
Author: H. Peter Anvin <hpa@linux.intel.com>
AuthorDate: Thu, 26 Apr 2012 11:45:16 -0700
Committer: H. Peter Anvin <hpa@linux.intel.com>
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 <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>
---
include/asm-generic/statfs.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-generic/statfs.h b/include/asm-generic/statfs.h
index 0fd28e0..c749af9 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-30 23:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-26 18:45 [PATCH] asm-generic: Use __BITS_PER_LONG in statfs.h H. Peter Anvin
2012-04-30 13:57 ` Arnd Bergmann
2012-04-30 23:46 ` [tip:x86/urgent] " tip-bot for H. Peter Anvin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.