summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-09-01 15:12:51 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-09-06 20:30:19 +0200
commit5cfba5df8c76851ab311a2818a5e688f20833cac (patch)
treeaf198fb6e4fcf0fc1df33be7a600519b1ed4c0b8 /arch/s390
parentSPARC: Use <asm-generic/statfs.h> (diff)
downloadlinux-5cfba5df8c76851ab311a2818a5e688f20833cac.tar.xz
linux-5cfba5df8c76851ab311a2818a5e688f20833cac.zip
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')
-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 099a45579190..06cc70307ece 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;