[Top] [All Lists]

Re: [MIPS] Check FCSR for pending interrupts before restoring from a con

To: "Atsushi Nemoto" <>
Subject: Re: [MIPS] Check FCSR for pending interrupts before restoring from a context.
From: "Franck Bui-Huu" <>
Date: Thu, 8 Feb 2007 17:30:29 +0100
Domainkey-signature: a=rsa-sha1; c=nofws;; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hlhcRTXMF7LExNHjteVbFAG7fddNT46TB1TcqXBWACLriS9xR/fQmhtUqka4qm5uptMyBqS4B0ikL95Xj7WDJAcVULfwuE9RIW7cMzOTsEWm48ydg22D/8mleIdgnlnLyNPQqov6Uf+mF+BOyXdpXln7x8xtxpA+yYDoM7qikHI=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <>
On 2/8/07, Atsushi Nemoto <> wrote:
On Thu, 08 Feb 2007 12:02:19 +0900 (JST), Atsushi Nemoto <> 
Here is a first cut.  Changes in r4k_fpu.S can be reverted, and after
Franck's patchset applied, this patch can be a bit smaller.  Please

yes this's going to conflict a lot with the patchset I sent...


+static inline int
 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
        unsigned int used_math;
@@ -112,7 +144,8 @@ restore_sigcontext(struct pt_regs *regs,
        if (used_math()) {

sorry for the stupid question but I don't know fpu code...Here
used_math() function is used as condition whereas used_math local is
already defined. Are we sure we want to use the function here ?


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