KVM: PPC: Make EPCR a valid field for booke64 and bookehv
authorAlexander Graf <agraf@suse.de>
Sat, 1 Dec 2012 13:50:26 +0000 (14:50 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Dec 2012 00:34:17 +0000 (01:34 +0100)
commit62b4db0042aa753810e0d4f184481cc107c925ba
treee9c93eb4ac80bc9e785f5bee6d3cc31df544035e
parente9666ea1b3d11509b76f8ff5b9776d8d30709b19
KVM: PPC: Make EPCR a valid field for booke64 and bookehv

In BookE, EPCR is defined and valid when either the HV or the 64bit
category are implemented. Reflect this in the field definition.

Today the only KVM target on 64bit is HV enabled, so there is no
change in actual source code, but this keeps the code closer to the
spec and doesn't build up artificial road blocks for a PR KVM
on 64bit.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_host.h