* [PATCH] Signal cleanups part1: siginfo rationalisation
@ 2002-05-14 6:00 Stephen Rothwell
2002-05-14 6:06 ` Stephen Rothwell
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2002-05-14 6:00 UTC (permalink / raw)
To: linux-kernel
Cc: rmk, bjornw, davidm, paulus, engebret, jes, ralf, schwidefsky,
davem, gniibe, ak
http://www.canb.auug.org.au/15-si.1.1.diff.gz
[Please do not flame me too much, just be happy that I did not post
the whole 120K patch :-)]
This patch creates asm-generic/siginfo.h and uses it to remove a
lot of duplicate code in the various asm-*/siginfo.h files. Some
if it is a little ugly, but I think it will be worth it just to
help us eliminate some of the bugs that have come from code copying.
diffstat looks like this:
asm-alpha/siginfo.h | 212 -----------------------------------------
asm-arm/siginfo.h | 230 ---------------------------------------------
asm-cris/siginfo.h | 229 ---------------------------------------------
asm-generic/siginfo.h | 254 ++++++++++++++++++++++++++++++++++++++++++++++++++
asm-i386/siginfo.h | 230 ---------------------------------------------
asm-ia64/siginfo.h | 145 ++--------------------------
asm-m68k/siginfo.h | 176 ----------------------------------
asm-mips/siginfo.h | 156 ++----------------------------
asm-mips64/siginfo.h | 155 ++----------------------------
asm-parisc/siginfo.h | 225 --------------------------------------------
asm-ppc/siginfo.h | 227 --------------------------------------------
asm-ppc64/siginfo.h | 228 --------------------------------------------
asm-s390/siginfo.h | 156 ------------------------------
asm-s390x/siginfo.h | 156 ------------------------------
asm-sh/siginfo.h | 229 ---------------------------------------------
asm-sparc/siginfo.h | 164 --------------------------------
asm-sparc64/siginfo.h | 172 +--------------------------------
asm-x86_64/siginfo.h | 229 ---------------------------------------------
18 files changed, 326 insertions(+), 3247 deletions(-)
so you can see there was LOTS of duplication :-)
Let me know if it is too ugly, otherwise, please apply. This builds
on i386 and ppc64 and shouldn't (in theory) change the object code
produced (modulo some static/extern inlines).
I intent to follow this with more code consolidation and some bug fixes
to the siginfo handling code.
This is CC'd to all the architecture maintainers in the hope that they
will check that I have not broken them badly.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Signal cleanups part1: siginfo rationalisation
2002-05-14 6:00 [PATCH] Signal cleanups part1: siginfo rationalisation Stephen Rothwell
@ 2002-05-14 6:06 ` Stephen Rothwell
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2002-05-14 6:06 UTC (permalink / raw)
To: linux-kernel
Cc: rmk, bjornw, davidm, paulus, engebret, jes, ralf, schwidefsky,
davem, gniibe, ak
On Tue, 14 May 2002 16:00:43 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> http://www.canb.auug.org.au/15-si.1.1.diff.gz
bad URL, try http://www.canb.auug.org.au/~sfr/15-si.1.1.diff.gz
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-14 6:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-14 6:00 [PATCH] Signal cleanups part1: siginfo rationalisation Stephen Rothwell
2002-05-14 6:06 ` 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®