summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-09-24 15:13:20 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2009-11-02 17:00:27 +1100
commit21d26d4f92b48e904e8bf562e978539a2fd9bb6e (patch)
tree8c09a73207a2831bbbc4afc22c5900b8bc742041
parenta359acae8b348a7a08eb31224df3ed3df46f8bec (diff)
powerpc/kvm: build fix for new BUILD_BUG_ON
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--arch/powerpc/kvm/timing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/timing.h b/arch/powerpc/kvm/timing.h
index a550f0ffeab1..25bb984fcde1 100644
--- a/arch/powerpc/kvm/timing.h
+++ b/arch/powerpc/kvm/timing.h
@@ -48,7 +48,7 @@ static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) {}
static inline void kvmppc_account_exit_stat(struct kvm_vcpu *vcpu, int type)
{
/* type has to be known at build time for optimization */
- BUILD_BUG_ON(!__builtin_constant_p(type));
+ //BUILD_BUG_ON(!__builtin_constant_p(type));
switch (type) {
case EXT_INTR_EXITS:
vcpu->stat.ext_intr_exits++;