freebsd-nq/sys/compat/linux
Bruce Evans 882fdeae66 Converted the second last instance of hzto() to tvtohz().
Fixed nearby bugs (in linux_alarm()):
- the itimer for the alarm was relative to the epoch instead of relative
  to the boot time.  This was harmless because the itimer's interval is 0.
- the seconds arg was not checked for validity before converting it to a
  possibly different value.
- printf format errors.

Improvements:
Don't use splclock().  splsoftclock() suffices.  Don't complicate things
by micro-optimizing interrupt latency.

Minor improvements:
Various micro-optimizations to exploit the specialness of the alarm itimer
and the value 0.
1998-08-05 16:44:30 +00:00
..
linux_file.c Fixed print format errors. 1998-07-29 16:43:00 +00:00
linux_ioctl.c Fixed print format errors. 1998-07-29 16:43:00 +00:00
linux_ipc.c ".. x11amp appears to be calling shmctl(id, IPC_RMID, 0) and the emulation 1998-06-02 12:38:31 +00:00
linux_misc.c Converted the second last instance of hzto() to tvtohz(). 1998-08-05 16:44:30 +00:00
linux_signal.c Fixed print format errors. 1998-07-29 16:43:00 +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_util.c Removed unused #includes. 1997-07-20 16:06:08 +00:00
linux_util.h remove option LINUX as it did nothing, add DEBUG_LINUX to debug the 1998-06-30 08:40:33 +00:00