git: drm: Sync include directives with Linux

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sun May 6 07:35:22 PDT 2018


commit d6aa1cc5dbab8f85317a8255f3e4bf712a19fc3f
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sun May 6 16:33:01 2018 +0200

    drm: Sync include directives with Linux
    
    * 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()

Summary of changes:
 sys/conf/files                                     |   1 +
 sys/dev/drm/drm/Makefile                           |   1 +
 .../drm/include/{linux/kthread.h => asm/current.h} |  10 +-
 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 +
 .../include/linux/{mmu_notifier.h => cpufreq.h}    |  13 +-
 sys/dev/drm/include/linux/{fs.h => cpumask.h}      |  15 +-
 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/{fs.h => kmod.h}         |  14 +-
 sys/dev/drm/include/linux/kthread.h                |   3 +-
 sys/dev/drm/include/linux/mm.h                     |   9 +-
 .../include/linux/{mmu_notifier.h => mm_types.h}   |  17 +-
 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/{hardirq.h => pid.h}     |  16 +-
 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/{kthread.h => stddef.h}  |  12 +-
 .../linux/{mmu_notifier.h => stop_machine.h}       |  12 +-
 sys/dev/drm/include/linux/string.h                 |  23 +--
 sys/dev/drm/include/linux/{kthread.h => threads.h} |  10 +-
 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, 419 insertions(+), 305 deletions(-)
 copy sys/dev/drm/include/{linux/kthread.h => asm/current.h} (89%)
 copy sys/dev/drm/include/linux/{mmu_notifier.h => cpufreq.h} (83%)
 copy sys/dev/drm/include/linux/{fs.h => cpumask.h} (84%)
 copy sys/dev/drm/include/linux/{fs.h => kmod.h} (85%)
 copy sys/dev/drm/include/linux/{mmu_notifier.h => mm_types.h} (78%)
 copy sys/dev/drm/include/linux/{hardirq.h => pid.h} (87%)
 copy sys/dev/drm/include/linux/{kthread.h => stddef.h} (87%)
 copy sys/dev/drm/include/linux/{mmu_notifier.h => stop_machine.h} (85%)
 copy sys/dev/drm/include/linux/{kthread.h => threads.h} (89%)
 create mode 100644 sys/dev/drm/linux_scatterlist.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d6aa1cc5dbab8f85317a8255f3e4bf712a19fc3f


-- 
DragonFly BSD source repository



More information about the Commits mailing list