On 2/8/07, Atsushi Nemoto <anemo@xxxxxxxxxxxxx> wrote:
On Thu, 08 Feb 2007 12:02:19 +0900 (JST), Atsushi Nemoto <anemo@xxxxxxxxxxxxx> wrote: 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 review.
yes this's going to conflict a lot with the patchset I sent... [snip]
+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 ? -- Franck