h8300: Add <asm/hash.h>
authorGeorge Spelvin <linux@sciencehorizons.net>
Wed, 25 May 2016 18:19:49 +0000 (14:19 -0400)
committerGeorge Spelvin <linux@sciencehorizons.net>
Sat, 28 May 2016 19:48:58 +0000 (15:48 -0400)
commit4684fe95300c071983f77653e354c040fe80a265
treefec7e5e3b1034b346a723d5f09684b362d9261fc
parent7b13277b682972c2ff8f6419e86c333d81936023
h8300: Add <asm/hash.h>

This will improve the performance of hash_32() and hash_64(), but due
to complete lack of multi-bit shift instructions on H8, performance will
still be bad in surrounding code.

Designing H8-specific hash algorithms to work around that is a separate
project.  (But if the maintainers would like to get in touch...)

Signed-off-by: George Spelvin <linux@sciencehorizons.net>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: uclinux-h8-devel@lists.sourceforge.jp
arch/h8300/Kconfig
arch/h8300/include/asm/hash.h [new file with mode: 0644]