freebsd-skq/sys/x86
asomers b3776cb8de 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
..
acpica Use C99 initializers for instances of struct apic_enumerator. 2018-07-13 17:42:48 +00:00
bios
cpufreq cpufreq: Remove error-prone table terminators in favor of automatic sizing 2018-04-14 03:15:05 +00:00
include Use the existing MSR_BIOS_SIGN on AMD. 2018-07-13 20:56:20 +00:00
iommu Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
isa Provide a helper function acpi_get_fadt_bootflags() to fetch the FADT 2018-06-25 11:01:12 +00:00
pci
x86 On amd64, enable workarounds for several Ryzen erratas as described in 2018-07-27 15:31:20 +00:00
xen xen: implement early init helper for PVHv2 2018-07-19 08:44:52 +00:00