[Top] [All Lists]

[PATCH 0/7] Clean up signal code

Subject: [PATCH 0/7] Clean up signal code
From: Franck Bui-Huu <>
Date: Tue, 23 Jan 2007 15:18:16 +0100
Domainkey-signature: a=rsa-sha1; c=nofws;; s=beta; h=received:to:cc:subject:date:message-id:x-mailer:from; b=Z5vndMBy8/NY2E+dbZPlgxLZzJFZVROuRbblZV+Rhd+SmFDE4IAmHSHich7MRBjCg6aj9cdxBb9bsOB8cTQWCKnUSrFKKSH5Li2VvF4nz5cQRs+JNbAAUm9OFyaYOwBjKTep1C8hkCbX+J8Zgr1k2EZTwrB2ObFrfN15f+VN7XI=
Original-recipient: rfc822;

This patchset cleans up signal related code by factorizing code
shared by all signal sources. The consequence is that the signal
code is decreased a lot.

This patchset has been splitted out into 7 differents patches
to ease code review.

Two questions are still open: 

    (a) It seems that the status register is not saved by
        setup_sigcontext() and therefore not restored by
        restore_sigcontext(). Is it a bug ?

    (b) Status register is saved by setup_sigcontext32() but
        not restored by restore_sigcontext(). Is it a bug ?

Unfortunately I do not have any 64 bits cross compiler setup
and no adequate plateforms to test the changes introduced by
this patchset in signal32.c and signal_n32.c. If someone
could give it a try, that would be nice.

Please, consider.

 arch/mips/kernel/signal-common.h |  194 +++++------------------
 arch/mips/kernel/signal.c        |  216 ++++++++++++++++++++------
 arch/mips/kernel/signal32.c      |  326 +++++++++++++++-----------------------
 arch/mips/kernel/signal_n32.c    |   26 ++--
 4 files changed, 354 insertions(+), 408 deletions(-)

<Prev in Thread] Current Thread [Next in Thread>