]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Use kernel hash function
authorAlexander Graf <agraf@suse.de>
Mon, 21 Jun 2010 13:25:19 +0000 (15:25 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:47:13 +0000 (10:47 +0300)
commite956a399a1581e9397ac665a6b0cbe1755e24ba1
treed6a6f4cbf701136cca9f507dcc4a1b55ba07b1de
parent99a43f78a72c1489bb9618adf7d7d4d9398b469a
KVM: PPC: Use kernel hash function

The linux kernel already provides a hash function. Let's reuse that
instead of reinventing the wheel!

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_32_mmu_host.c
arch/powerpc/kvm/book3s_64_mmu_host.c