freebsd-skq/sys/i386/linux
Poul-Henning Kamp 227ee8a188 Eradicate the variable "time" from the kernel, using various measures.
"time" wasn't a atomic variable, so splfoo() protection were needed
around any access to it, unless you just wanted the seconds part.

Most uses of time.tv_sec now uses the new variable time_second instead.

gettime() changed to getmicrotime(0.

Remove a couple of unneeded splfoo() protections, the new getmicrotime()
is atomic, (until Bruce sets a breakpoint in it).

A couple of places needed random data, so use read_random() instead
of mucking about with time which isn't random.

Add a new nfs_curusec() function.

Mark a couple of bogosities involving the now disappeard time variable.

Update ffs_update() to avoid the weird "== &time" checks, by fixing the
one remaining call that passwd &time as args.

Change profiling in ncr.c to use ticks instead of time.  Resolution is
the same.

Add new function "tvtohz()" to avoid the bogus "splfoo(), add time, call
hzto() which subtracts time" sequences.

Reviewed by:	bde
1998-03-30 09:56:58 +00:00
..
imgact_linux.c De-staticize enough to make all the LKMs work again. Add comments where 1998-02-11 01:46:50 +00:00
linux_dummy.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
linux_file.c The linux chown syscall is more like lchown, a new chown syscall that 1998-03-29 07:59:10 +00:00
linux_genassym.c Declare printf() instead of including <stdio.h>, so that this doesn't 1998-02-01 18:47:56 +00:00
linux_ioctl.c As described by the submitter: 1997-12-15 06:09:11 +00:00
linux_ipc.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
linux_locore.s
linux_misc.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
linux_proto.h regenerate 1998-03-29 08:04:49 +00:00
linux_signal.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
linux_socket.c Moved some #includes from <sys/param.h> nearer to where they are actually 1998-03-28 10:33:27 +00:00
linux_stats.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
linux_syscall.h regenerate 1998-03-29 08:04:49 +00:00
linux_sysent.c regenerate 1998-03-29 08:04:49 +00:00
linux_sysvec.c Staticized. 1998-02-13 07:34:52 +00:00
linux_util.c Removed unused #includes. 1997-07-20 16:06:08 +00:00
linux_util.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
linux.h Staticized. 1998-02-13 07:34:52 +00:00
Makefile Be consistant with the other syscall makefile's handling of the default 1997-03-29 11:17:26 +00:00
syscalls.conf Added a null entry for sysmk that is generated by makesyscalls.sh. 1998-03-13 19:13:54 +00:00
syscalls.master The linux chown syscall is more like lchown, a new chown syscall that 1998-03-29 07:59:10 +00:00