From: Bharat Bhushan Date: Fri, 25 Jul 2014 06:02:43 +0000 (+0530) Subject: KVM: PPC: Remove comment saying SPRG1 is used for vcpu pointer X-Git-Tag: v3.17-rc1~87^2~10^2~21 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8c95ead6039d46d2d5c375d3cadac8708121fbe4;p=~emulex%2Finfiniband.git KVM: PPC: Remove comment saying SPRG1 is used for vcpu pointer Scott Wood pointed out that We are no longer using SPRG1 for vcpu pointer, but using SPRN_SPRG_THREAD <=> SPRG3 (thread->vcpu). So this comment is not valid now. Note: SPRN_SPRG3R is not supported (do not see any need as of now), and if we want to support this in future then we have to shift to using SPRG1 for VCPU pointer. Signed-off-by: Bharat Bhushan Signed-off-by: Alexander Graf --- diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h index c8f33816a38..0ef17ade773 100644 --- a/arch/powerpc/include/asm/reg.h +++ b/arch/powerpc/include/asm/reg.h @@ -944,9 +944,6 @@ * readable variant for reads, which can avoid a fault * with KVM type virtualization. * - * (*) Under KVM, the host SPRG1 is used to point to - * the current VCPU data structure - * * 32-bit 8xx: * - SPRG0 scratch for exception vectors * - SPRG1 scratch for exception vectors