opnsense-src/sys/dev/drm2
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
..
i915 Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
radeon Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
ttm vm_wait() rework. 2018-02-20 10:13:13 +00:00
ati_pcigart.c
drm.h
drm_agpsupport.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_atomic.h drm/i915: Update to match Linux 3.8.13 2016-03-08 20:33:02 +00:00
drm_auth.c
drm_buffer.c
drm_buffer.h
drm_bufs.c Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
drm_context.c
drm_core.h
drm_crtc.c drm: Revert the part of r288653 about M_WAITOK vs M_NOWAIT 2016-01-13 20:35:02 +00:00
drm_crtc.h
drm_crtc_helper.c
drm_crtc_helper.h
drm_dma.c Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
drm_dp_helper.c
drm_dp_helper.h
drm_dp_iic_helper.c Revert bus_get_cpus() for now. 2016-05-03 01:17:40 +00:00
drm_drv.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_edid.c drm2(4): Fix double-free in low-memory error path 2016-04-20 03:45:45 +00:00
drm_edid.h
drm_edid_modes.h
drm_fb_helper.c Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
drm_fb_helper.h
drm_fixed.h
drm_fops.c drm2: a few minor fixes after r280183 2015-10-04 07:45:36 +00:00
drm_fourcc.h
drm_gem.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_gem_names.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_gem_names.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_global.c
drm_global.h
drm_hashtab.c
drm_hashtab.h
drm_ioc32.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
drm_ioctl.c
drm_irq.c
drm_linux_list.h drm/i915: Update to match Linux 3.8.13 2016-03-08 20:33:02 +00:00
drm_linux_list_sort.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_lock.c Hide an unused in FreeBSD function behind #ifdef linux to get rid of 2015-09-22 15:32:27 +00:00
drm_mem_util.h drm2: Basic use of mallocarray(9). 2018-01-22 15:55:51 +00:00
drm_memory.c Allow DRM2 code to be built on platforms without AGP. 2016-11-13 13:31:23 +00:00
drm_mm.c
drm_mm.h
drm_mode.h
drm_modes.c
drm_os_freebsd.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_os_freebsd.h Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_pci.c drm: Revert the part of r288653 about M_WAITOK vs M_NOWAIT 2016-01-13 20:35:02 +00:00
drm_pciids.h drm2: Add some missing PCIIDs for some Haswell systems 2017-04-13 01:56:15 +00:00
drm_platform.c Import drm_patform.c, an implementation of non-PCI based attachment 2016-12-26 14:28:23 +00:00
drm_sarea.h
drm_scatter.c Use atop() instead of OFF_TO_IDX() for convertion of addresses or 2017-03-14 19:39:17 +00:00
drm_stub.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_sysctl.c
drm_vm.c sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
drmP.h Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00