]> asedeno.scripts.mit.edu Git - linux.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)
commit7a8ff56be68239bd36a2b639cb40bfbcfc58dad3
tree07b1de550303217b8048b457008b05bd942cfc3e
parent47d45d9f53a7c478fc83dff7b421cb4bc3ad9f94
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