Source-Changes archive

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

CVS commit: src/sys




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/sys

From: "Martin Husemann" <martin%netbsd.org@localhost>

Date: Tue, 21 Feb 2012 15:41:24 +0000


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.






Prev by Date: CVS commit: src/sys/dev/pci/voyager

Next by Date: CVS commit: src/sys/arch/alpha/alpha

Previous by Thread: CVS commit: src/sys/dev/pci/voyager

Next by Thread: CVS commit: src/sys/arch/alpha/alpha

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index