]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Move BAT handling code into spr handler
authorAlexander Graf <agraf@suse.de>
Mon, 2 Aug 2010 21:23:04 +0000 (23:23 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:10 +0000 (10:52 +0200)
commit570f1bce090cd62e8ceec19f664096f5587fd35b
tree0266ec09777ae881679361cb4fffb46446f02502
parent6159103256557c9c4df0dae7176c8b5e03973193
KVM: PPC: Move BAT handling code into spr handler

The current approach duplicates the spr->bat finding logic and makes it harder
to reuse the actually used variables. So let's move everything down to the spr
handler.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_emulate.c