summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBharat Bhushan <Bharat.Bhushan@freescale.com>2014-07-25 11:32:43 +0530
committerAlexander Graf <agraf@suse.de>2014-07-28 15:23:15 +0200
commit8c95ead6039d46d2d5c375d3cadac8708121fbe4 (patch)
treed87fe6c79cb4ad1f81d17e423b2e8f34dada2b28 /arch
parent28d2f421bcff6781b80decac59da414f86f35c2a (diff)
downloadlwn-8c95ead6039d46d2d5c375d3cadac8708121fbe4.tar.gz
lwn-8c95ead6039d46d2d5c375d3cadac8708121fbe4.zip
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 <Bharat.Bhushan@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/reg.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h
index c8f33816a381..0ef17ade7730 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