aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-09-01 14:07:11 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-09-04 09:46:08 +0100
commit92a7507926b0698711ed010288b57582776eec31 (patch)
treee0ab785a101838be177f8b7f75c1641c2805875f /arch/alpha
parentaa7a7fb3990ffc74945494cbd2fc6e920825ee2c (diff)
downloadkernel_samsung_espresso10-92a7507926b0698711ed010288b57582776eec31.zip
kernel_samsung_espresso10-92a7507926b0698711ed010288b57582776eec31.tar.gz
kernel_samsung_espresso10-92a7507926b0698711ed010288b57582776eec31.tar.bz2
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')
-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 ad15830..de35cd4 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