diff options
author | Bharat Bhushan <r65777@freescale.com> | 2012-05-21 01:21:23 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-05-30 11:43:11 +0200 |
commit | 21bd000abff7d587229dbbee6f8c17f3aad9f9d8 (patch) | |
tree | 23bc78396196e5253e3330f03cf2eecb41a067b3 /arch/powerpc/include/asm/kvm_host.h | |
parent | KVM: PPC: Book3S HV: Make the guest hash table size configurable (diff) | |
download | linux-21bd000abff7d587229dbbee6f8c17f3aad9f9d8.tar.xz linux-21bd000abff7d587229dbbee6f8c17f3aad9f9d8.zip |
KVM: PPC: booke: Added DECAR support
Added the decrementer auto-reload support. DECAR is readable
on e500v2/e500mc and later cpus.
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_host.h')
-rw-r--r-- | arch/powerpc/include/asm/kvm_host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index dd783beb88b3..50ea12fd7bf5 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h @@ -418,7 +418,9 @@ struct kvm_vcpu_arch { ulong mcsrr1; ulong mcsr; u32 dec; +#ifdef CONFIG_BOOKE u32 decar; +#endif u32 tbl; u32 tbu; u32 tcr; |