From: Michael Ellerman Date: Thu, 10 Jul 2014 09:34:31 +0000 (+1000) Subject: powerpc/kvm: Create proper names for the kvm_host_state PMU fields X-Git-Tag: fixes-v4.0-rc1~132^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a4fc4eaf111ca960c9f524b850598e9dbc9697f;p=pandora-kernel.git powerpc/kvm: Create proper names for the kvm_host_state PMU fields We have two arrays in kvm_host_state that contain register values for the PMU. Currently we only create an asm-offsets symbol for the base of the arrays, and do the array offset in the assembly code. Creating an asm-offsets symbol for each field individually makes the code much nicer to read, particularly for the MMCRx/SIxR/SDAR fields, and might have helped us notice the recent double restore bug we had in this code. Signed-off-by: Michael Ellerman Acked-by: Alexander Graf --- Reading git-diff-tree failed