[Top] [All Lists]

CVS linux

Subject: CVS linux
From: Kanoj Sarcar <>
Date: Thu, 11 May 2000 19:21:22 +0000
CVSROOT:        /home/pub/cvs
Module name:    linux
Changes by:       00/05/11 12:21:22

Modified files:
        arch/mips64/kernel: process.c signal.c signal32.c 

Log message:
        When last_task_used_math gets the cpu, ST0_CU1 is set during context
        switch. All other FP programs have ST0_CU1 cleared in their 
        so that they incur faults on first touching the FPU, and are made the
        FPU owner, aka last_task_used_math. used_math determines whether a
        thread has used the FPU before; if not, the FPU needs to be initialized
        before it can own the FPU. Note: a FP program that has already been
        using the fpu (not neccesarily the owner), must reinit the fpu if
        it uses the fpu in a signal handler; a sigreturn restores the
        original context, discarding the context of the handler.

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