drm: Sync include directives with Linux

Operating Systems / DragonFlyBSD - François Tigeot [wolfpond.org] - 6 May 2018 14:33 EDT

- Add a few key include/asm or include/linux headers

- Move some code from .h to .c files in order to avoid clashes between the DragonFly and Linux variants of kmalloc() and kfree()

d6aa1cc5db drm: Sync include directives with Linux
sys/conf/files | 1 +
sys/dev/drm/drm/Makefile | 1 +
sys/dev/drm/include/asm/current.h | 30 +++++
sys/dev/drm/include/asm/memory_model.h | 3 +-
sys/dev/drm/include/linux/cache.h | 3 +-
sys/dev/drm/include/linux/capability.h | 3 +
sys/dev/drm/include/linux/cpufreq.h | 36 +++++
sys/dev/drm/include/linux/cpumask.h | 35 +++++
sys/dev/drm/include/linux/fs.h | 12 +-
sys/dev/drm/include/linux/hardirq.h | 4 +-
sys/dev/drm/include/linux/interrupt.h | 1 +
sys/dev/drm/include/linux/kernel.h | 15 ++-
sys/dev/drm/include/linux/kmod.h | 34 +++++
sys/dev/drm/include/linux/kthread.h | 3 +-
sys/dev/drm/include/linux/mm.h | 9 +-
sys/dev/drm/include/linux/mm_types.h | 42 ++++++
sys/dev/drm/include/linux/mmu_notifier.h | 3 +-
sys/dev/drm/include/linux/module.h | 1 +
sys/dev/drm/include/linux/mutex.h | 6 +-
sys/dev/drm/include/linux/pid.h | 37 +++++
sys/dev/drm/include/linux/printk.h | 4 +-
sys/dev/drm/include/linux/rcupdate.h | 16 ++-
sys/dev/drm/include/linux/scatterlist.h | 193 +-------------------------
sys/dev/drm/include/linux/sched.h | 7 +-
sys/dev/drm/include/linux/stddef.h | 32 +++++
sys/dev/drm/include/linux/stop_machine.h | 35 +++++
sys/dev/drm/include/linux/string.h | 23 +---
sys/dev/drm/include/linux/threads.h | 30 +++++
sys/dev/drm/include/linux/wait.h | 3 +-
sys/dev/drm/include/linux/workqueue.h | 32 +----
sys/dev/drm/include/linux/ww_mutex.h | 2 +
sys/dev/drm/linux_compat.c | 14 ++
sys/dev/drm/linux_scatterlist.c | 223 +++++++++++++++++++++++++++++++
sys/dev/drm/linux_workqueue.c | 23 +++-
34 files changed, 664 insertions(+), 252 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share