linux-cvs
[Top] [All Lists]

CVS Update@oss.sgi.com: linux

To: linux-cvs@oss.sgi.com
Subject: CVS Update@oss.sgi.com: linux
From: Kanoj Sarcar <kanoj@oss.sgi.com>
Date: Thu, 11 May 2000 19:21:22 +0000
Sender: owner-linux-cvs@oss.sgi.com
CVSROOT:        /home/pub/cvs
Module name:    linux
Changes by:     kanoj@oss.sgi.com       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 
thread_struct,
        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>