From: David Woodhouse <dwmw2@infradead.org>
To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject: [PATCH 8/8] S390: Update comments about why we don't use <asm-generic/statfs.h>
Date: Wed, 03 Sep 2008 10:38:35 +0100 [thread overview]
Message-ID: <1220434715.2985.68.camel@pmac.infradead.org> (raw)
In-Reply-To: <1220275314.2982.83.camel@pmac.infradead.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
---
arch/s390/include/asm/statfs.h | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/arch/s390/include/asm/statfs.h b/arch/s390/include/asm/statfs.h
index 099a455..06cc703 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;
--
1.5.5.1
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
prev parent reply other threads:[~2008-09-03 9:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-01 13:21 [RFC] Unify asm/statfs.h David Woodhouse
2008-09-03 9:37 ` [PATCH 1/8] Make <asm-generic/statfs.h> suitable for 64-bit platforms David Woodhouse
2008-09-03 9:37 ` [PATCH 2/8] ARM: Use <asm-generic/statfs.h> David Woodhouse
2008-09-03 9:38 ` [PATCH 3/8] IA64: " David Woodhouse
2008-09-03 9:38 ` [PATCH 4/8] x86_64: " David Woodhouse
2008-09-06 15:58 ` Ingo Molnar
2008-09-03 9:38 ` [PATCH 5/8] PARISC: " David Woodhouse
2008-09-03 9:38 ` [PATCH 6/8] PowerPC: " David Woodhouse
2008-09-03 9:38 ` [PATCH 7/8] SPARC: " David Woodhouse
2008-09-03 9:38 ` David Woodhouse [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1220434715.2985.68.camel@pmac.infradead.org \
--to=dwmw2@infradead.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®