summaryrefslogtreecommitdiffstats
path: root/arch/alpha/include
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-09-01 15:07:11 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-09-04 10:46:08 +0200
commit92a7507926b0698711ed010288b57582776eec31 (patch)
treee0ab785a101838be177f8b7f75c1641c2805875f /arch/alpha/include
parentDefine and use PCI_DEVICE_ID_MARVELL_88ALP01_CCIC for CAFÉ camera driver (diff)
downloadlinux-92a7507926b0698711ed010288b57582776eec31.tar.xz
linux-92a7507926b0698711ed010288b57582776eec31.zip
Make <asm-generic/statfs.h> suitable for 64-bit platforms.
At the moment, 64-bit platforms (other than Alpha) are all redefining things for themselves instead of using <asm-generic/statfs.h>. As is ARM, since it has special requirements w.r.t. padding. Make <asm-generic/statfs.h> more generic, and they can use it directly. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/alpha/include')
-rw-r--r--arch/alpha/include/asm/statfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/statfs.h b/arch/alpha/include/asm/statfs.h
index ad15830baefe..de35cd438a10 100644
--- a/arch/alpha/include/asm/statfs.h
+++ b/arch/alpha/include/asm/statfs.h
@@ -1,6 +1,10 @@
#ifndef _ALPHA_STATFS_H
#define _ALPHA_STATFS_H
+/* Alpha is the only 64-bit platform with 32-bit statfs. And doesn't
+ even seem to implement statfs64 */
+#define __statfs_word __u32
+
#include <asm-generic/statfs.h>
#endif