Use the better hash multiplier for __generic_hash
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 27 Sep 2017 21:20:57 +0000 (17:20 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 29 Sep 2017 14:00:03 +0000 (10:00 -0400)
commit1cff6b171a2bca612c36c7b0e3cc88a2754eb97e
treeb1abbe6c470a5e58972208bcb9bdca5cd545aa28
parentf70896ecf590ac751ac7f3965834312d501996c6
Use the better hash multiplier for __generic_hash

I added Linux's hash.h a while back, but didn't update __generic_hash,
which was using the hardcoded GOLDEN_RATIO_PRIME_32.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/hashtable.c