]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Unify kvmppc_get_last_inst and sc
authorAlexander Graf <agraf@suse.de>
Thu, 9 Jan 2014 10:10:44 +0000 (11:10 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 9 Jan 2014 10:10:46 +0000 (11:10 +0100)
commit646b717e18f26b74586d98ee52db43d4899fc565
tree07b1de550303217b8048b457008b05bd942cfc3e
parentb8caa869c1229b76781cfb4e8456f92d94453de8
KVM: PPC: Unify kvmppc_get_last_inst and sc

We had code duplication between the inline functions to get our last
instruction on normal interrupts and system call interrupts. Unify
both helper functions towards a single implementation.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_book3s.h