mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Linus <torvalds@transmeta.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	anton@samba.org, "David S. Miller" <davem@redhat.com>,
	ak@muc.de, davidm@hpl.hp.com, schwidefsky@de.ibm.com,
	ralf@gnu.org, matthew@wil.cx
Subject: [PATCH][COMPAT] compat_{old_}sigset_t generic part
Date: Wed, 15 Jan 2003 17:34:15 +1100	[thread overview]
Message-ID: <20030115173415.33e172c2.sfr@canb.auug.org.au> (raw)

Hi Linus,

This patch creates compat_sigset_t and compat_old_sigset_t i.e. just the
types.  This is just the generic part, the architecture specific parts
follow. The diffstat for the whole patch looks like this:

 arch/ia64/ia32/ia32_signal.c      |   26 +++++++++++------------
 arch/mips64/kernel/signal32.c     |   33 +++++++++++------------------
 arch/parisc/kernel/signal.c       |    7 +++---
 arch/parisc/kernel/signal32.c     |   32 +++++++++++++---------------
 arch/parisc/kernel/sys32.h        |    7 ------
 arch/ppc64/kernel/signal32.c      |   42 +++++++++++++++++++-------------------
 arch/s390x/kernel/linux32.c       |   24 ++++++++++-----------
 arch/s390x/kernel/linux32.h       |   15 +++----------
 arch/s390x/kernel/signal32.c      |   15 +++++++------
 arch/sparc64/kernel/signal.c      |    5 +++-
 arch/sparc64/kernel/signal32.c    |   16 +++++++-------
 arch/sparc64/kernel/sys_sparc32.c |   34 +++++++++++++++---------------
 arch/sparc64/kernel/sys_sunos32.c |    2 -
 arch/x86_64/ia32/ia32_signal.c    |   11 +++++----
 arch/x86_64/ia32/sys_ia32.c       |   38 +++++++++++++++++-----------------
 include/asm-ia64/compat.h         |    7 ++++++
 include/asm-ia64/ia32.h           |   14 +-----------
 include/asm-mips64/compat.h       |    7 ++++++
 include/asm-mips64/signal.h       |    1 
 include/asm-parisc/compat.h       |    9 +++++++-
 include/asm-ppc64/compat.h        |    7 ++++++
 include/asm-ppc64/ppc32.h         |   14 +-----------
 include/asm-s390x/compat.h        |    9 +++++++-
 include/asm-sparc64/compat.h      |    7 ++++++
 include/asm-sparc64/signal.h      |   19 ++++-------------
 include/asm-x86_64/compat.h       |    7 ++++++
 include/asm-x86_64/ia32.h         |   16 ++------------
 include/linux/compat.h            |    6 +++++
 28 files changed, 215 insertions(+), 215 deletions(-)

So, overall no change :-)

Applying just this generic part will break all the 64 bit architectures.
Hopefully this will give the architecture maintainer incentive to apply my
other patches.  :-)

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.5.58-32bit.4/include/linux/compat.h 2.5.58-32bit.5/include/linux/compat.h
--- 2.5.58-32bit.4/include/linux/compat.h	2003-01-09 16:24:05.000000000 +1100
+++ 2.5.58-32bit.5/include/linux/compat.h	2003-01-15 16:33:09.000000000 +1100
@@ -33,6 +33,12 @@
 	compat_clock_t		tms_cstime;
 };
 
+#define _COMPAT_NSIG_WORDS	(_COMPAT_NSIG / _COMPAT_NSIG_BPW)
+
+typedef struct {
+	compat_sigset_word	sig[_COMPAT_NSIG_WORDS];
+} compat_sigset_t;
+
 extern int cp_compat_stat(struct kstat *, struct compat_stat *);
 extern int get_compat_flock(struct flock *, struct compat_flock *);
 extern int put_compat_flock(struct flock *, struct compat_flock *);

             reply	other threads:[~2003-01-15  6:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-15  6:34 Stephen Rothwell [this message]
2003-01-15  6:36 ` [PATCH][COMPAT] compat_{old_}sigset_t ppc64 Stephen Rothwell
2003-01-15  6:39 ` [PATCH][COMPAT] compat_{old_}sigset_t sparc64 Stephen Rothwell
2003-01-15  6:40 ` PATCH][COMPAT] compat_{old_}sigset_t x86_64 part Stephen Rothwell
2003-01-15  6:42 ` [PATCH][COMPAT] compat_{old_}sigset_t ia64 part Stephen Rothwell
2003-01-15  6:44 ` [PATCH][COMPAT] compat_{old_}sigset_t s390x part Stephen Rothwell
2003-01-15  6:46 ` [PATCH][COMPAT] compat_{old_}sigset_t mips64 part Stephen Rothwell
2003-01-15  6:47 ` [PATCH][COMPAT] compat_{old_}sigset_t parisc part Stephen Rothwell

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=20030115173415.33e172c2.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=ak@muc.de \
    --cc=anton@samba.org \
    --cc=davem@redhat.com \
    --cc=davidm@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew@wil.cx \
    --cc=ralf@gnu.org \
    --cc=schwidefsky@de.ibm.com \
    --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

all inboxes | Powered by JetHome®