All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
To: linux-mips@linux-mips.org
Cc: ths@linux-mips.org
Subject: Re: CVS Update@linux-mips.org: linux
Date: Fri, 07 Jan 2005 12:43:07 -0800	[thread overview]
Message-ID: <41DEF45B.8060800@total-knowledge.com> (raw)
In-Reply-To: <20050107191947Z8225432-1341+49@linux-mips.org>

ths@linux-mips.org wrote:

>CVSROOT:	/home/cvs
>Module name:	linux
>Changes by:	ths@ftp.linux-mips.org	05/01/07 19:19:40
>
>Modified files:
>	arch/mips/kernel: signal.c signal_n32.c 
>Added files:
>	arch/mips/kernel: signal-common.h 
>
>Log message:
>	Save a bit of copy&paste by separating out common parts in the signal handling.
>
>  
>
Seems like following piece is missing from this patch:

Index: arch/mips/kernel/signal.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/kernel/signal.c,v
retrieving revision 1.84
diff -u -r1.84 signal.c
--- arch/mips/kernel/signal.c   7 Jan 2005 19:19:40 -0000       1.84
+++ arch/mips/kernel/signal.c   7 Jan 2005 20:40:02 -0000
@@ -155,51 +155,6 @@
        return do_sigaltstack(uss, uoss, usp);
 }

-int restore_sigcontext(struct pt_regs *regs, struct sigcontext *sc)
-{
-       int err = 0;
-
-       /* Always make any pending restarted system calls return -EINTR */
-       current_thread_info()->restart_block.fn = do_no_restart_syscall;
-
-       err |= __get_user(regs->cp0_epc, &sc->sc_pc);
-       err |= __get_user(regs->hi, &sc->sc_mdhi);
-       err |= __get_user(regs->lo, &sc->sc_mdlo);
-
-#define restore_gp_reg(i) do {                                         \
-       err |= __get_user(regs->regs[i], &sc->sc_regs[i]);              \
-} while(0)
-       restore_gp_reg( 1); restore_gp_reg( 2); restore_gp_reg( 3);
-       restore_gp_reg( 4); restore_gp_reg( 5); restore_gp_reg( 6);
-       restore_gp_reg( 7); restore_gp_reg( 8); restore_gp_reg( 9);
-       restore_gp_reg(10); restore_gp_reg(11); restore_gp_reg(12);
-       restore_gp_reg(13); restore_gp_reg(14); restore_gp_reg(15);
-       restore_gp_reg(16); restore_gp_reg(17); restore_gp_reg(18);
-       restore_gp_reg(19); restore_gp_reg(20); restore_gp_reg(21);
-       restore_gp_reg(22); restore_gp_reg(23); restore_gp_reg(24);
-       restore_gp_reg(25); restore_gp_reg(26); restore_gp_reg(27);
-       restore_gp_reg(28); restore_gp_reg(29); restore_gp_reg(30);
-       restore_gp_reg(31);
-#undef restore_gp_reg
-
-       err |= __get_user(current->used_math, &sc->sc_used_math);
-
-       preempt_disable();
-
-       if (current->used_math) {
-               /* restore fpu context if we have used it before */
-               own_fpu();
-               err |= restore_fp_context(sc);
-       } else {
-               /* signal handler may have used FPU.  Give it up. */
-               lose_fpu();
-       }
-
-       preempt_enable();
-
-       return err;
-}
-
 #if PLAT_TRAMPOLINE_STUFF_LINE
 #define __tramp __attribute__((aligned(PLAT_TRAMPOLINE_STUFF_LINE)))
 #else

       reply	other threads:[~2005-01-07 20:43 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050107191947Z8225432-1341+49@linux-mips.org>
2005-01-07 20:43 ` Ilya A. Volynets-Evenbakh [this message]
2005-01-08  0:56   ` CVS Update@linux-mips.org: linux Thiemo Seufer
     [not found] <20050921213950Z8225559-3678+10018@linux-mips.org>
2005-09-22  9:28 ` Matej Kupljen
     [not found] <20050920002016Z8225531-3678+9789@linux-mips.org>
2005-09-20  8:19 ` Jerry
2005-09-20 14:53   ` Pete Popov
     [not found] <20050902095417Z8224772-3678+8160@linux-mips.org>
2005-09-02 11:35 ` Maciej W. Rozycki
2005-09-02 12:01   ` Thiemo Seufer
2005-09-02 13:30     ` Maciej W. Rozycki
     [not found] <20050901085634Z8225385-3678+8053@linux-mips.org>
2005-09-01 11:18 ` Ralf Baechle
2005-09-01 11:31   ` Ralf Baechle
     [not found] <20050820142723Z8225252-3678+7060@linux-mips.org>
2005-08-22  9:18 ` Maciej W. Rozycki
2005-08-22 10:26   ` Ralf Baechle
2005-08-22 11:49     ` Maciej W. Rozycki
     [not found] <20050727214818Z8225782-3678+4592@linux-mips.org>
2005-07-28 10:19 ` Maciej W. Rozycki
     [not found] <20050725213607Z8225534-3678+4335@linux-mips.org>
     [not found] ` <57480.194.171.252.10 0.1122478386.squirrel@mail.kpsws.com>
2005-07-27 15:33 ` Niels Sterrenburg
2005-07-27 15:37   ` Geert Uytterhoeven
2005-07-27 16:37     ` Maciej W. Rozycki
2005-07-27 17:24   ` Ralf Baechle
2005-07-27 18:03     ` Maciej W. Rozycki
2005-07-27 19:28       ` Ralf Baechle
2005-07-28  7:36         ` Geert Uytterhoeven
2005-07-28 10:13           ` Maciej W. Rozycki
2005-07-28 13:46             ` Ralf Baechle
2005-07-28 11:23           ` Niels Sterrenburg
     [not found] <20050721153359Z8225218-3678+3745@linux-mips.org>
2005-07-22  4:30 ` Ralf Baechle
2005-07-22 12:10   ` Thiemo Seufer
2005-07-22 13:06     ` Ralf Baechle
2005-07-22 13:24       ` Maciej W. Rozycki
2005-07-22 14:00         ` Ralf Baechle
2005-07-22 14:18           ` Thiemo Seufer
2005-07-26 11:12           ` Maciej W. Rozycki
2005-07-22 14:16       ` Thiemo Seufer
     [not found] <20050721153639Z8225221-3678+3748@linux-mips.org>
2005-07-21 21:53 ` Ralf Baechle
     [not found] <20050714174806Z8226711-3678+3079@linux-mips.org>
2005-07-15 15:16 ` Yoichi Yuasa
2005-07-15 18:07   ` Ralf Baechle
2005-07-15 23:23   ` Pete Popov
2005-07-15 23:23     ` Pete Popov
     [not found] <20050714001711Z8226701-3678+2977@linux-mips.org>
2005-07-14 15:35 ` Maciej W. Rozycki
2005-07-14 15:51   ` Pete Popov
2005-07-14 15:59     ` Maciej W. Rozycki
2005-07-14 16:01       ` Pete Popov
     [not found] <20050712145438Z8226641-3678+2759@linux-mips.org>
2005-07-12 15:30 ` Maciej W. Rozycki
     [not found] <20050711170613Z8226486-3678+2546@linux-mips.org>
2005-07-11 17:31 ` Ralf Baechle
2005-07-11 17:44   ` Maciej W. Rozycki
2005-07-11 17:53     ` Ralf Baechle
2005-07-11 18:05       ` Maciej W. Rozycki
2005-07-11 19:25         ` Thiemo Seufer
2005-07-12 11:16           ` Maciej W. Rozycki
     [not found] <20050711083532Z8226446-3678+2437@linux-mips.org>
2005-07-11  8:45 ` Ralf Baechle
     [not found] <20050708091711Z8226352-3678+1954@linux-mips.org>
2005-07-08 12:02 ` Ralf Baechle
2005-07-08 12:12   ` Maciej W. Rozycki
2005-07-08 13:43     ` Richard Sandiford
2005-07-08 13:55     ` Ralf Baechle
     [not found] <20050707091937Z8226163-3678+1737@linux-mips.org>
2005-07-07 11:32 ` Maciej W. Rozycki
2005-07-07 12:12   ` Thiemo Seufer
2005-07-07 12:19     ` Maciej W. Rozycki
2005-07-07 12:22       ` Thiemo Seufer
2005-07-07 13:01         ` Maciej W. Rozycki
2005-07-07 13:51           ` Thiemo Seufer
2005-07-07 16:29           ` Ralf Baechle DL5RB
2005-07-07 16:42             ` Maciej W. Rozycki
2005-07-08 13:42             ` Richard Sandiford
2005-07-08 15:05               ` Maciej W. Rozycki
2005-07-08 15:39                 ` Richard Sandiford
2005-07-08 15:59                   ` Maciej W. Rozycki
     [not found] <20050618135450Z8225248-1340+9141@linux-mips.org>
2005-06-20 10:27 ` Maciej W. Rozycki
     [not found] <20050605035727Z8225003-1340+8177@linux-mips.org>
2005-06-06 12:16 ` Ralf Baechle
     [not found] <20050603022113Z8226140-1340+8064@linux-mips.org>
2005-06-03  9:22 ` Ralf Baechle
2005-06-03 10:21   ` Thiemo Seufer
2005-06-03 10:55     ` Ralf Baechle
2005-06-03 11:12     ` Geert Uytterhoeven
2005-06-03 11:30       ` Ralf Baechle
2005-06-03 11:37         ` Geert Uytterhoeven
     [not found] <20050506143118Z8225421-1340+6642@linux-mips.org>
2005-05-06 14:51 ` Maciej W. Rozycki
2005-05-06 18:41   ` Maciej W. Rozycki
     [not found] <20050412140045Z8224988-1340+5602@linux-mips.org>
2005-04-12 16:57 ` Christoph Hellwig
2005-04-12 17:48   ` Thiemo Seufer
     [not found] <20050401175340Z8226142-1340+5040@linux-mips.org>
2005-04-02 10:11 ` Thiemo Seufer
2005-04-04 11:26   ` Maciej W. Rozycki
     [not found] <20050304151343Z8225933-1340+3959@linux-mips.org>
2005-03-16 18:51 ` Maciej W. Rozycki
     [not found] <20050225133831Z8225462-1340+3675@linux-mips.org>
2005-02-25 16:50 ` Maciej W. Rozycki
     [not found] <20050225131124Z8225457-1340+3673@linux-mips.org>
2005-02-25 16:48 ` Maciej W. Rozycki
     [not found] <20050214035304Z8225242-1340+3175@linux-mips.org>
2005-02-14 15:34 ` Ralf Baechle
2005-02-14 15:41   ` sjhill
2005-02-14 16:06   ` Maciej W. Rozycki
2005-02-14 18:34     ` Ralf Baechle
     [not found] <20050213213130Z8225210-1340+3164@linux-mips.org>
2005-02-13 21:33 ` Maciej W. Rozycki
     [not found] <20050115013112Z8225557-1340+1316@linux-mips.org>
2005-01-19  4:42 ` Yoichi Yuasa
2005-01-19  5:04   ` Maciej W. Rozycki
2005-01-19  5:31     ` Yoichi Yuasa
2005-01-19  5:35       ` Maciej W. Rozycki
2005-01-19  6:21         ` Yoichi Yuasa
2005-03-07 16:44           ` Yoichi Yuasa
2005-03-17 15:47             ` Yoichi Yuasa
2005-03-20 22:14               ` Ralf Baechle
     [not found] <20050109193411Z8225245-1340+894@linux-mips.org>
2005-01-09 20:55 ` Geert Uytterhoeven
2005-01-09 21:15   ` Ralf Baechle
     [not found] <20050108180025Z8225397-1340+834@linux-mips.org>
2005-01-08 20:25 ` Ilya A. Volynets-Evenbakh
2005-01-08 22:07   ` Ralf Baechle
     [not found] <20041228080623Z8224908-1340+368@linux-mips.org>
2005-01-01 13:40 ` Geert Uytterhoeven

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=41DEF45B.8060800@total-knowledge.com \
    --to=ilya@total-knowledge.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ths@linux-mips.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.