mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][COMPAT] compat_{old_}sigset_t generic part
@ 2003-01-15  6:34 Stephen Rothwell
  2003-01-15  6:36 ` [PATCH][COMPAT] compat_{old_}sigset_t ppc64 Stephen Rothwell
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Stephen Rothwell @ 2003-01-15  6:34 UTC (permalink / raw)
  To: Linus
  Cc: LKML, anton, David S. Miller, ak, davidm, schwidefsky, ralf, matthew

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 *);

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-01-15  6:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-15  6:34 [PATCH][COMPAT] compat_{old_}sigset_t generic part Stephen Rothwell
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

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®