Date: Sat, 22 Mar 1997 00:03:54 -0800 (PST) From: Bruce Evans <bde> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_time.c sys_generic.c src/sys/ufs/lfs lfs_syscalls.c src/sys/sys kernel.h Message-ID: <199703220803.AAA15095@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 97/03/22 00:03:53 Modified: sys/kern kern_time.c sys_generic.c sys/sys kernel.h sys/ufs/lfs lfs_syscalls.c Log: Removed `volatile' from declaration of `time', and removed the resulting null casts. `time' is nonvolatile for accesses within a region locked by splclock()/splx(). Accesses outside such a region are invalid, and splx() must have the side effect of potentially changing all global variables (since there are hundreds of sort of volatile variables like `time'), so declaring `time' as volatile didn't have any real benefits. Revision Changes Path 1.22 +3 -4 src/sys/kern/kern_time.c 1.24 +2 -2 src/sys/kern/sys_generic.c 1.26 +2 -2 src/sys/sys/kernel.h 1.18 +2 -2 src/sys/ufs/lfs/lfs_syscalls.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703220803.AAA15095>