S390: Update comments about why we don't use <asm-generic/statfs.h>
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 1 Sep 2008 13:12:51 +0000 (14:12 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 6 Sep 2008 18:30:19 +0000 (19:30 +0100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/s390/include/asm/statfs.h

index 099a455..06cc703 100644 (file)
 #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;