summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-09-01 14:12:51 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-09-06 19:30:19 +0100
commit5cfba5df8c76851ab311a2818a5e688f20833cac (patch)
treeaf198fb6e4fcf0fc1df33be7a600519b1ed4c0b8 /arch/s390/include
parent52d90f4dad1352a6077ad6e93650ecea9b258f56 (diff)
S390: Update comments about why we don't use <asm-generic/statfs.h>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/statfs.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/s390/include/asm/statfs.h b/arch/s390/include/asm/statfs.h
index 099a4557919..06cc70307ec 100644
--- a/arch/s390/include/asm/statfs.h
+++ b/arch/s390/include/asm/statfs.h
@@ -12,19 +12,16 @@
#ifndef __s390x__
#include <asm-generic/statfs.h>
#else
+/*
+ * We can't use <asm-generic/statfs.h> because in 64-bit mode
+ * we mix ints of different sizes in our struct statfs.
+ */
#ifndef __KERNEL_STRICT_NAMES
-
#include <linux/types.h>
-
typedef __kernel_fsid_t fsid_t;
-
#endif
-/*
- * This is ugly -- we're already 64-bit clean, so just duplicate the
- * definitions.
- */
struct statfs {
int f_type;
int f_bsize;