linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Schwidefsky <martin.schwidefsky@debitel.net>
To: linux-kernel@vger.kernel.org
Cc: torvalds@transmeta.com
Subject: 2.5.21 - autofs_wqt_t.
Date: Tue, 11 Jun 2002 00:30:51 +0200 (CEST)	[thread overview]
Message-ID: <E17HXgZ-0000Yy-00@skybase> (raw)


Hi,
s390x needs to be added to the autofs_wqt_t type #if since it is one of
the architectures that can execute 32- and 64-bit binaries. Because s390
can live with autofs_wqt_t as int as well we use __s390__ in the #if.
That leads to the question if the whole #if can be removed. Or is there
a 32 bit architecture with a bits per int != bits per long ?

blue skies,
  Martin.

diff -urN linux-2.5.21/include/linux/auto_fs.h linux-2.5.21-s390/include/linux/auto_fs.h
--- linux-2.5.21/include/linux/auto_fs.h	Sun Jun  9 07:26:22 2002
+++ linux-2.5.21-s390/include/linux/auto_fs.h	Tue Jun  4 09:52:06 2002
@@ -45,7 +45,8 @@
  * If so, 32-bit user-space code should be backwards compatible.
  */
 
-#if defined(__sparc__) || defined(__mips__) || defined(__x86_64__) || defined(__powerpc__)
+#if defined(__sparc__) || defined(__mips__) || defined(__x86_64) \
+ || defined(__powerpc__) || defined(__s390__)
 typedef unsigned int autofs_wqt_t;
 #else
 typedef unsigned long autofs_wqt_t;

                 reply	other threads:[~2002-06-10 20:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E17HXgZ-0000Yy-00@skybase \
    --to=martin.schwidefsky@debitel.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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;
as well as URLs for NNTP newsgroup(s).