From: Alexander Graf Date: Fri, 8 Jan 2010 01:58:01 +0000 (+0100) Subject: KVM: PPC: Use accessor functions for GPR access X-Git-Tag: v2.6.34-rc1~193^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e5b26b55a8b6aee2c789b1d20ec715f9e4bea5c;p=pandora-kernel.git KVM: PPC: Use accessor functions for GPR access All code in PPC KVM currently accesses gprs in the vcpu struct directly. While there's nothing wrong with that wrt the current way gprs are stored and loaded, it doesn't suffice for the PACA acceleration that will follow in this patchset. So let's just create little wrapper inline functions that we call whenever a GPR needs to be read from or written to. The compiled code shouldn't really change at all for now. Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- Reading git-diff-tree failed