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)
commit3b249157c03154109d31ec95a3c80203adcf8b70
treed6a6f4cbf701136cca9f507dcc4a1b55ba07b1de
parenta576f7a29481438db0fa6f3d9ed6939019c441d3
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