Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Mar 2001 08:56:52 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        KATO Takenori <kato@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/pc98/pc98 npx.c
Message-ID:  <XFMail.010308085652.jhb@FreeBSD.org>
In-Reply-To: <200103081426.f28EPxS05324@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 08-Mar-01 KATO Takenori wrote:
> kato        2001/03/08 06:25:55 PST
> 
>   Modified files:
>     sys/pc98/pc98        npx.c 
>   Log:
>   Replaced p (undeclared) with curproc (after i386/isa/npx.c).

Argh.  Doh.  You may want to stick a 'struct proc *p' in that function and
assign curproc to it and use that instead of curproc to avoid going through
hoops to read a per-cpu variable multiple times.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010308085652.jhb>