kernel: Add <sys/hash.h>.
authorSascha Wildner <saw@online.de>
Wed, 6 Jun 2012 20:11:44 +0000 (22:11 +0200)
committerSascha Wildner <saw@online.de>
Wed, 6 Jun 2012 20:13:13 +0000 (22:13 +0200)
commit6c9c2933c2a0a55ad9907c3e0ae2ab495d8fa959
tree834ad371925f780d5c1408ec62cb3a8b42483c90
parentadd23450639d3568b38fb0bd0a16e658fdb03c9d
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
share/man/man9/Makefile
share/man/man9/hash.9 [new file with mode: 0644]
sys/conf/files
sys/dev/drm/drm/Makefile
sys/dev/drm/drm_hashtab.c
sys/dev/drm/drm_subr_hash.c [deleted file]
sys/sys/hash.h [moved from sys/dev/drm/drm_priv_hash.h with 88% similarity]