DragonFly BSD
DragonFly commits List (threaded) for 2012-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel: Add <sys/hash.h>.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 6 Jun 2012 13:14:11 -0700 (PDT)

commit 6c9c2933c2a0a55ad9907c3e0ae2ab495d8fa959
Author: Sascha Wildner <saw@online.de>
Date:   Wed Jun 6 22:11:44 2012 +0200

    kernel: Add <sys/hash.h>.
    
    * Our DRM's drm_priv_hash.h is really what's <sys/hash.h> in the other
      BSDs. So move it there, too.
    
    * Add a hash(9) manual page (from FreeBSD).
    
    * Adjust DRM to use our hash{init,destroy}() functions instead of
      rolling its own.
    
    Reported-by: ftigeot

Summary of changes:
 share/man/man9/Makefile                     |    7 +
 share/man/man9/hash.9                       |  161 +++++++++++++++++++++++++++
 sys/conf/files                              |    1 -
 sys/dev/drm/drm/Makefile                    |    1 -
 sys/dev/drm/drm_hashtab.c                   |   14 +--
 sys/dev/drm/drm_subr_hash.c                 |  139 -----------------------
 sys/{dev/drm/drm_priv_hash.h => sys/hash.h} |   18 +---
 7 files changed, 176 insertions(+), 165 deletions(-)
 create mode 100644 share/man/man9/hash.9
 delete mode 100644 sys/dev/drm/drm_subr_hash.c
 rename sys/{dev/drm/drm_priv_hash.h => sys/hash.h} (88%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6c9c2933c2a0a55ad9907c3e0ae2ab495d8fa959


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]