freebsd-dev/sys/dev/xen
Alan Somers 6040822c4e Make timespecadd(3) and friends public
The timespecadd(3) family of macros were imported from NetBSD back in
r35029. However, they were initially guarded by #ifdef _KERNEL. In the
meantime, we have grown at least 28 syscalls that use timespecs in some
way, leading many programs both inside and outside of the base system to
redefine those macros. It's better just to make the definitions public.

Our kernel currently defines two-argument versions of timespecadd and
timespecsub.  NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define
three-argument versions.  Solaris also defines a three-argument version, but
only in its kernel.  This revision changes our definition to match the
common three-argument version.

Bump _FreeBSD_version due to the breaking KPI change.

Discussed with:	cem, jilles, ian, bde
Differential Revision:	https://reviews.freebsd.org/D14725
2018-07-30 15:46:40 +00:00
..
balloon xen: remove direct usage of HYPERVISOR_start_info 2018-07-19 07:54:45 +00:00
blkback xen-blkback: don't unbind the interrupt while holding the lock 2018-05-24 10:19:54 +00:00
blkfront xen-blkfront: fix memory leak in xbd_connect error path 2018-07-30 11:27:51 +00:00
console xen: do not limit PV console usage to PV guests 2018-07-19 07:58:24 +00:00
control sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
debug
evtchn xen/evtchn: fix LOR in evtchn device 2018-05-24 10:20:42 +00:00
gntdev xen: fix gntdev 2018-05-02 10:19:17 +00:00
grant_table xen/grants: fix deadlocks in the free callbacks 2018-07-30 11:41:51 +00:00
netback xen-netback: fix LOR 2018-06-26 14:07:11 +00:00
netfront ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
pci
pcifront
privcmd
pvcpu xen: attach the PV CPU if no CPU device is present 2018-07-19 08:00:52 +00:00
timer Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
xenpci sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
xenstore xen: remove direct usage of HYPERVISOR_start_info 2018-07-19 07:54:45 +00:00