Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2006 11:58:05 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Poul-Henning Kamp <phk@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern kern_tc.c
Message-ID:  <200603061158.08275.jhb@freebsd.org>
In-Reply-To: <200603040607.k2467QgN013563@repoman.freebsd.org>
References:  <200603040607.k2467QgN013563@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 04 March 2006 01:07, Poul-Henning Kamp wrote:
> phk         2006-03-04 06:07:26 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_tc.c 
>   Log:
>   Add missing cast.

This is one part of the fixes I needed on Alpha.  The missing cast handles
the case where tc_counter_mask was ~0u, and the unsigned value of ~0u + 1
is 0, so base was never being updated during roll-overs.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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