Subject: Re: more funky stuff with kthreads and interrupts
To: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-cobalt
Date: 05/07/2001 20:57:43
On Tue, May 08, 2001 at 12:32:03PM +0900, Toru Nishimura wrote:

 > Index: vm_machdep.c
 > ===================================================================
 > RCS file: /cvsroot/syssrc/sys/arch/mips/mips/vm_machdep.c,v
 > retrieving revision 1.74
 > diff -c -r1.74 vm_machdep.c
 > *** vm_machdep.c	2001/04/24 04:31:03	1.74
 > --- vm_machdep.c	2001/05/08 03:17:32
 > ***************
 > *** 145,150 ****
 > --- 145,151 ----
 >   	pcb->pcb_context[8] = (int)f - 24;		/* SP */
 >   	pcb->pcb_context[0] = (int)func;		/* S0 */
 >   	pcb->pcb_context[1] = (int)arg;			/* S1 */
 > + 	pcb->pcb_context[11] |= MIPS_INT_MASK | MIPS_SR_INT_IE; /* SR */
 >   }

...and maybe &= mips_dynamic_status_mask on MIPS3 configurations?

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>