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

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Jun 6 13:14:11 PDT 2012


commit 6c9c2933c2a0a55ad9907c3e0ae2ab495d8fa959
Author: Sascha Wildner <saw at 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





More information about the Commits mailing list