cvs commit: src/sys/kern kern_tc.c

John Baldwin jhb at freebsd.org
Mon Mar 6 10:30:24 PST 2006


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list