projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d90f4
)
S390: Update comments about why we don't use <asm-generic/statfs.h>
author
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 1 Sep 2008 13:12:51 +0000
(14:12 +0100)
committer
David 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
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/statfs.h
b/arch/s390/include/asm/statfs.h
index 099a45579190e4764343dfebe85cc05f178293f9..06cc70307eceb96e152e4565b366e3feac3e7353 100644
(file)
--- 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;