From: David Hildenbrand Date: Wed, 19 Mar 2014 15:59:39 +0000 (+0100) Subject: KVM: s390: sigp: move target cpu checks into dispatcher X-Git-Tag: omap-for-v3.19/fixes-rc1~43^2~117^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d95c7d2d7cb9a1f47e9a46473413844c6245c15;p=pandora-kernel.git KVM: s390: sigp: move target cpu checks into dispatcher All sigp orders targeting one VCPU have to verify that the target is valid and available. Let's move the check from the single functions to the dispatcher. The destination VCPU is directly passed as a pointer - instead of the cpu address of the target. Please note that all SIGP orders except SIGP SET ARCHITECTURE - even unknown ones - will now check for the availability of the target VCPU. This is what the architecture documentation specifies. Signed-off-by: David Hildenbrand Reviewed-by: Cornelia Huck Signed-off-by: Christian Borntraeger --- Reading git-diff-tree failed