Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys

Module Name:    src
Committed By:   martin
Date:           Tue Feb 21 15:41:24 UTC 2012

Modified Files:
        src/sys/kern: kern_tc.c
        src/sys/sys: timevar.h

Log Message:
Make time_second and time_uptime volatile, so the compiler knows they
may change during loops. Fixes the macppc build, which previously
died with:
src/sys/arch/macppc/dev/dbdma.c:62:6: error: assuming signed overflow does not 
occur when assuming that (X + c) < X is always false

To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/kern/kern_tc.c
cvs rdiff -u -r1.30 -r1.31 src/sys/sys/timevar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index