mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-16 22:38:04 +00:00
2177f80076
Duplicate patches between PSP and 3.2.17 have been dropped from the 3.2.17 series Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From 09fdfacc87dfa2183da3d66ac788901636ef33f2 Mon Sep 17 00:00:00 2001
|
|
From: "H. Peter Anvin" <hpa@linux.intel.com>
|
|
Date: Thu, 26 Apr 2012 11:45:16 -0700
|
|
Subject: [PATCH 149/165] asm-generic: Use __BITS_PER_LONG in statfs.h
|
|
|
|
commit f5c2347ee20a8d6964d6a6b1ad04f200f8d4dfa7 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>
|
|
---
|
|
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.7.6
|
|
|