aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2015-03-27 23:21:04 -0400
committerAlexander Graf <agraf@suse.de>2015-04-21 09:21:32 -0400
commit1f09c3ed86287d40fef90611cbbee055313f52cf (patch)
tree556fceeb90dab0172d3ecf540782e39e128d1b93 /arch/powerpc/include
parentd911f0beddc2a9248dbf375fc50a4bbf30947822 (diff)
KVM: PPC: Book3S HV: Minor cleanups
* Remove unused kvmppc_vcore::n_busy field. * Remove setting of RMOR, since it was only used on PPC970 and the PPC970 KVM support has been removed. * Don't use r1 or r2 in setting the runlatch since they are conventionally reserved for other things; use r0 instead. * Streamline the code a little and remove the ext_interrupt_to_host label. * Add some comments about register usage. * hcall_try_real_mode doesn't need to be global, and can't be called from C code anyway. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/kvm_host.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h
index 2f339ff9b851..3eecd8868b01 100644
--- a/arch/powerpc/include/asm/kvm_host.h
+++ b/arch/powerpc/include/asm/kvm_host.h
@@ -227,7 +227,6 @@ struct kvm_arch {
227 unsigned long host_sdr1; 227 unsigned long host_sdr1;
228 int tlbie_lock; 228 int tlbie_lock;
229 unsigned long lpcr; 229 unsigned long lpcr;
230 unsigned long rmor;
231 unsigned long vrma_slb_v; 230 unsigned long vrma_slb_v;
232 int hpte_setup_done; 231 int hpte_setup_done;
233 u32 hpt_order; 232 u32 hpt_order;
@@ -271,7 +270,6 @@ struct kvm_arch {
271 */ 270 */
272struct kvmppc_vcore { 271struct kvmppc_vcore {
273 int n_runnable; 272 int n_runnable;
274 int n_busy;
275 int num_threads; 273 int num_threads;
276 int entry_exit_count; 274 int entry_exit_count;
277 int n_woken; 275 int n_woken;