Pull out string hash to <linux/stringhash.h>

... so they can be used without the rest of <linux/dcache.h>

The hashlen_* macros will make sense next patch.

Signed-off-by: George Spelvin <linux@sciencehorizons.net>
This commit is contained in:
George Spelvin 2016-05-20 07:26:00 -04:00
commit f4bcbe792b
2 changed files with 73 additions and 26 deletions